[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Error when trying to su (PAM issue???)
- Subject: [cobalt-users] Error when trying to su (PAM issue???)
- From: "David Miller" <dmille14@xxxxxxxxxxxxxxx>
- Date: Sun Mar 4 07:44:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
When I'm logged in as a regular user I am unable to use su. I get the error
"incorrect password"
I know the password is correct because I can login as root with the same
password. However, I can use su with the root user. I have checked the
permissions on the /bin/su file. They are -rwsr-xr-x. I have also checked
the /bin/login file. They are rwSr-xr-x
I am thinking this is a PAM issue. But I'm not very familiar with PAM.
below are the /etc/pam.d/su and /etc/pam.d/login files
su
#%PAM-1.0
auth required /lib/security/pam_wheel.so
auth sufficient /lib/security/pam_rootok.so
auth required /lib/security/pam_pwdb.so shadow nullok
account required /lib/security/pam_pwdb.so
session required /lib/security/pam_pwdb.so
login
#%PAM-1.0
auth requisite /lib/security/pam_securetty.so
auth requisite /lib/security/pam_nologin.so
auth required /lib/security/pam_pwdb.so shadow nullok
account required /lib/security/pam_pwdb.so
password required /lib/security/pam_cracklib.so retry=3 type=login
password required /lib/security/pam_pwdb.so shadow md5 nullok
use_authtok
session required /lib/security/pam_pwdb.so
Thanks for your help.