PDA

View Full Version : [ubuntu] Root password



Soop_
January 8th, 2010, 04:52 PM
I don't remember giving a root password. And if I try to su to root, it won't take the only password I've ever given it.

Am I missing something? How do I get root on my own box?

amauk
January 8th, 2010, 04:54 PM
I don't remember giving a root password. And if I try to su to root, it won't take the only password I've ever given it.by default, the root account has no password
meaning you cannot log in as root directly


How do I get root on my own box?

sudo -i

oldfred
January 9th, 2010, 07:14 PM
You do not need root, you just use sudo or gksudo for any commands that need root privileges.

Forum rules on root vs. sudo
http://ubuntuforums.org/showthread.php?t=716201

Soop_
January 12th, 2010, 11:21 AM
Great thanks you guys, that's cleared it up.