You are not logged in.
Pages: 1
Well, i've been unable to login as a root, though i could use the root account through sudo.What I mean is that i just can't login as a root, although i my password is quite ok.I remember having touched a setting related to permission of root login, however, i have rather dim recollections about which option is related to my issue.Could somebody give me a helping hand?
Offline
You have sudores setup. Maybe you should chroot from livecd and change password ![]()
Offline
Well, you use your password when you use sudo, but you need to know the root password if you are logging in as the root user, which is a (hopefully) completely different thing. Sure you know your root user password?
Offline
if you can use sudo, you can use passwd to unlock the root account with 'sudo passwd -u root' (assuming you locked it, ! symbol in /etc/shadow), or give it a new password 'sudo passwd root'
you can also "sudo su" to switch right to the root account (different that 'sudo -i' which is just a superuser session)
also maybe you did something with pam or the root login shell?
edit: 'sudo pwck' will verify integrity of /etc/passwd and /etc/shadow so that might also be helpful
Last edited by thestinger (2010-04-29 19:41:31)
Offline
if you can use sudo, you can use passwd to unlock the root account with 'sudo passwd -u root' (assuming you locked it, ! symbol in /etc/shadow), or give it a new password 'sudo passwd root'
Thanks thestinger! That solved my problems with the root password.
Offline
Pages: 1