-   Ubuntu (
-   -   what is the default root pasword? (

MurX 02-20-2006 08:53 PM

what is the default root pasword?
Just installed Ubuntu and I do nto know what the root password is. I do not think I set it.

How do i set the root pasword in Ubuntu?

many thanks.

brianthegreat 02-20-2006 09:01 PM

Root is not enabled by default. You need to use the sudo command. Sudo is quite different from root considering that you will use your username password.


sudo apt-get update
type your password.

If you want to open gedit needing root or sudo access.

sudo gedit /var/log/messages
your username password.

You can enable root if you would like. Sudo is suppose to increase security by keeping people logged into root for extended periods of time.

aysiu 02-20-2006 09:28 PM

You don't need a root account or root password:

jschiwal 02-20-2006 10:37 PM

Thank you for that link aysiu.

Does Ubuntu do this by disabling logins with the "*" password trick, or is PAM used?

Using a persons own password for sudo is the way Mandrake sets things up. This allows you to let some users to run some root commands without having to reveal the root password. Here there is no root password to give out!

MurX 02-21-2006 05:08 AM

Thanks for that info guys. I'm a bit new to ubuntu

All times are GMT -5. The time now is 03:22 AM.