You are not logged in.
Hi,
I have a problem since a few days now. I simply can't authenticate as root with su. It always does :
~ $ su -
Mot de passe :
su: Échec d'authentificationwhich would be in english : "su: Authentication failure".
I've searched the web about it, and nothing solves it (including a few fixes concerning permissions on su binary, etc.)
n.b.: $ sudo su - works.
Last edited by Schoewilliam (2013-03-03 06:42:07)
Offline
Are you sure the password is correct?
Offline
sudo takes by default your user password, su takes your root password. i'd suggest trying to change the root password with sudo then checking again to make sure you have the password right. That is, log in to root using sudo and run passwd.
Offline
Are you sure the password is correct?
Of course it is.
sudo takes by default your user password, su takes your root password. i'd suggest trying to change the root password with sudo then checking again to make sure you have the password right. That is, log in to root using sudo and run passwd.
thanks for replying. I'll try when I'll be home, but I don't think it'll change anything because I still can log in as root from tty : doesn't that tell that I have the password right ?
I'll try anyway and post again.
thanks ![]()
Last edited by Schoewilliam (2013-03-03 05:53:55)
Offline
sudo su - works
That's unimportant, because "su" and "sudo" use are separate applications. "su" uses the root password and "sudo" uses the user password.
I'll try when I'll be home, but I don't think it'll change anything because I still can log in as root from tty : doesn't that tell that I have the password right ?
So, you can become root using "su -" from a TTY terminal (no X) but you can't become root using "su -" from a terminal emulator in X?
Is there a special character in the root password that works correctly in a TTY but not in X?
Offline
So, you can become root using "su -" from a TTY terminal (no X) but you can't become root using "su -" from a terminal emulator in X?
Is there a special character in the root password that works correctly in a TTY but not in X?
No, I can't from both tty and urxvt (I thought I could only from tty, but now as I'm home, I'm seeing that no ; sorry about that.) .
Last edited by Schoewilliam (2013-03-03 06:34:45)
Offline
sudo takes by default your user password, su takes your root password. i'd suggest trying to change the root password with sudo then checking again to make sure you have the password right. That is, log in to root using sudo and run passwd.
Okaaay, this fixed. I thought it would be more a more complex issue Oo. Thank you
.
Offline