PDA

View Full Version : [ubuntu] noob - root password



Tsu
July 15th, 2009, 03:22 PM
For some strange reason I was not asked to set the root password on installation.

I am unable to su root directly.

I must type "sudo su root"

May I ask why this is?

scorp123
July 15th, 2009, 03:26 PM
http://ubuntuforums.org/showthread.php?t=510812

https://help.ubuntu.com/community/RootSudo

wojox
July 15th, 2009, 03:26 PM
Security

Check this link out:

https://help.ubuntu.com/community/RootSudo

mcduck
July 15th, 2009, 03:47 PM
For some strange reason I was not asked to set the root password on installation.

I am unable to su root directly.

I must type "sudo su root"

May I ask why this is?

Ubuntu doesn't use the root count directly, instead admin tasks are handled by using "sudo" to temporarily gain root permissions. The root account itself is locked and there is no password for it.

If you want to start a root session in a terminal, use "sudo -i" instead of "su".

The links posted in previous messages explain this in more detail, so be sure to read at least the rootsudo document.

scorp123
July 17th, 2009, 12:21 PM
Another option would be to run, (deleted command) ... You're in violation of the forum rules. You might want to read up on those again.