[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

PAM-securetty: Error opening /etc/securetty



I administer a Linux Server with Red Hat 6.2 and yesterday, suddenly, I cannot login in the console as root: after typing the password, the system answer "Login incorrect". I can login as any valid user and su, in the console and in the LAN terminals.
The error in the log is
"Jul 18 14:26:52 mail PAM-securetty[2701]: Error opening /etc/securetty
Jul 18 14:26:56 mail login[2701]: FAILED LOGIN SESSION FROM (null) FOR root, Error in service module".
The securetty is OK.
If I make a "ps" command, the list don't show any TTY number (only "?").
If I make a "w" command, the list is correct, saying I'm at "pts/0" tty.

I think there is any wrong and the system cannot identify the TTY number (ps reports "?" TTY) and so I have root access only in the console (/etc/securetty), root cannot log in because the system don't know that root is in the console.
Any idea which files must I review?

Antonio Poncel
Jefe de Servicio de Informatica
INSALUD GAP Area 3
ZARAGOZA (SPAIN)
BEGIN:VCARD
VERSION:2.1
N:Poncel;Antonio
FN:Antonio Poncel
ORG:INSALUD G.A.P.  AREA 3
TITLE:Jefe de Servicio de Informatica (Director of Compuers Department)
TEL;WORK;VOICE:+34-976-750750
ADR;WORK:;;Condes de Aragon, 30;Zaragoza;;50002;Spain
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Condes de Aragon, 30=0D=0AZaragoza 50002=0D=0ASpain
URL:
URL:http://insalud-area3.zaragoza.net
EMAIL;PREF;INTERNET:aponcel@insalud-area3.zaragoza.net
REV:20010404T065218Z
END:VCARD

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []