[lug] Su problems

Dan Ferris dan at ferrises.com
Tue Nov 18 13:51:09 MST 2003


This is driving me nuts.

The system is SuSE 9.0

dferris at stargate:~> su
Password:
su: incorrect password
dferris at stargate:~>

Now in /var/log/messages:

pam_unix2: session started for user dferris, service su
pam_unix2: pam_sm_authenticate() called
pam_unix2: username=[root]
pam_unix2: wrong password, return PAM_AUTH_ERR
FAILED SU (to root) root on /dev/pts/2

Here's the PAM configuration:

#%PAM-1.0
auth sufficient         pam_rootok.so
auth requisite          pam_unix2.so    debug nullok     #set_secrpc
account required        pam_unix2.so    debug
password required       pam_unix2.so    debug nullok use_first_pass 
use_authtok
session required        pam_unix2.so    debug

There is NO reason why this should fail.  I type in the correct password 
and it dies on me.

Has ANYONE seen this before?

Dan




More information about the LUG mailing list