LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   what is the default root pasword? (http://www.linuxquestions.org/questions/ubuntu-63/what-is-the-default-root-pasword-417768/)

MurX 02-20-2006 07: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 08: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.

So

sudo apt-get update
password
type your password.

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

sudo gedit /var/log/messages
password
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 08:28 PM

You don't need a root account or root password:
https://wiki.ubuntu.com/RootSudo
http://www.psychocats.net/linux/permissions.php

jschiwal 02-20-2006 09: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 04:08 AM

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


All times are GMT -5. The time now is 11:50 PM.