You are not logged in.
Hi,
I can login as root, but after I try to get root-rights in typing "su" I always get "wrong password". But the password is correct.
Here's mine /etc/pam.d/su:
#%PAM-1.0
auth sufficient pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth sufficient pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
auth required pam_wheel.so use_uid
auth required pam_unix.so
account required pam_unix.so
session required pam_unix.so
And here's the output of "id":
uid=501(hanf) gid=100(users) Gruppen=10(wheel),91(video),92(audio),93(optical),96(scanner),100(users),501(hanf),502(burning),503(wwwadmin)
So you see I am in the "wheel"-group. I played a bit with the pam.d/su-file, but nothing helped. Problem begans with the last update I think.
Any hints?
Greets,
Ace
Offline
Just to get the obvious out of the way...when you type <code>su</code> and it asks for a password, you're putting in the root password, correct? I got confused with this at first, since when you use <code>sudo</code> you have to put in your own password, but <code>su</code> requires the actual root password.
Offline
Just to get the obvious out of the way...when you type <code>su</code> and it asks for a password, you're putting in the root password, correct? I got confused with this at first, since when you use <code>sudo</code> you have to put in your own password, but <code>su</code> requires the actual root password.
Yes, I'm typing the correct password the right way.
Greets,
Ace
Offline
What are the rights on your /bin/su file?
ls -la /bin/su
Offline
I think I started having this problem yesterday too
Offline
The rights on my /bin/su file are:
-rwsr-sr-x 1 root root
I also had this problem recently, and then compared the rights on the su file with the rights I had on that file on another computer. I then followingly changed the rights on my su file to what you see above, and it was working again
Offline
hmm..my su works fine but has different rights:
-r-sr-xr-x 1 root root 19912 2004-12-16 01:55 su
Offline