Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Can't log in to root using console  (Read 1927 times)

0 Members and 1 Guest are viewing this topic.

Vinil

  • Guest
Can't log in to root using console
« on: March 03, 2014, 11:02:05 pm »
If you cam't login to linux machine using console there might a chance that there is something wrong with console file "/etc/securetty" and also verify the the "/etc/pam.d" files. Sample Configuration of /etc/securetty file is given below :


Code: [Select]
[root@server1 ~]# cat /etc/securetty

# /etc/securetty: list of terminals on which root is allowed to login.
# See securetty(5) and login(1).

console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
xvc0
hvc0