Newbie question: login not working

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

 



I just installed RH8.0 and have one problem with it, which is due to pam, I
think.
In a terminal window, I can not do a "login <myself>" or "login root".
What's wrong?

Here some information on what's happening and my current configuration:

[dd001@wisconsin dd001]$ login dd001
Password:

Authentication service cannot retrieve authentication info.
--------------------------------------------------------------
[dd001@wisconsin dd001]$ login root
Password:

Login incorrect
[dd001@wisconsin dd001]$ tail /var/log/messages
[...]
Dec  2 12:41:11 wisconsin PAM-securetty[2105]: Error opening /etc/securetty
Dec  2 12:41:14 wisconsin login(pam_unix)[2105]: authentication failure;
logname= uid=500 euid=500 tty=pts/1 ruser= rhost=  user=root
Dec  2 12:41:17 wisconsin login[2105]: FAILED LOGIN SESSION FROM (null) FOR
root, Error in service module
--------------------------------------------------------------
[dd001@wisconsin dd001]$ su
Password:
[root@wisconsin dd001]# login dd001
<the session gets closed without prompting for password>
[root@wisconsin dd001]# tail /var/log/messages
[...]
Dec  2 12:44:06 wisconsin su(pam_unix)[2168]: session opened for user root
by (uid=500)
Dec  2 12:45:06 wisconsin login(pam_unix)[2198]: auth could not identify
password for [dd001]
Dec  2 12:45:06 wisconsin login[2198]: FAILED LOGIN 1 FROM (null) FOR dd001,
Authentication failure
Dec  2 12:45:06 wisconsin login(pam_unix)[2198]: auth could not identify
password for [dd001]
Dec  2 12:45:06 wisconsin login[2198]: FAILED LOGIN SESSION FROM (null) FOR
dd001, Error in service module
Dec  2 12:45:06 wisconsin su(pam_unix)[2168]: session closed for user root
--------------------------------------------------------------
[dd001@wisconsin dd001]$ more /etc/pam.d/login
#%PAM-1.0
auth       required     /lib/security/pam_securetty.so
auth       required     /lib/security/pam_stack.so service=system-auth
auth       required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_console.so

Thanks in advance for your help

David Defoort
david.defoort@wanadoo.fr







_______________________________________________

Pam-list@redhat.com
https://listman.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux