Computer Hope
Software => BSD, Linux, and Unix => Topic started by: #groff -Tascii -man yakub on June 01, 2008, 08:56:26 AM
-
Hi this is yakub
i have a problem while logging as root
i typed "su" in the terminal it asked me for a password i typed my password but it is giving as "Authentication Failed sorry."
but the root password is correct only
why i am getting this problem how can i overcome this problem?
-
By default, Ubuntu disables the root account. If you really, really think you need to log in as root, you could probably use this command to enter a password for root:
sudo passwd root
But the theory that Ubuntu has embraced is that you never need to log in as root. Every administrative thing you need to do can be done with sudo. After using Ubuntu, I have found that I almost always use sudo instead of su on my Mandriva and PCLinuxOS systems now also.
-
After looking at man usermod, I think you may need to also execute this command to enable the root account:
sudo usermod -U root
-
thanks everyone..........
-
A good guide to sort the Ubuntu root pass issue
http://www.fixya.com/support/t879022-ubuntu_change_root_password
I'm quite new to ubuntu, and this was easy for me.
JB.
-
$ sudo -H -s
HTH :)
-
To the OP: It is much safer to use the built-in sudo command, rather than suing to the root account. sudo will give you near all the same powers as root, and will make it much safer and harder for an inexperienced user to ruin their system ;)