View Full Version : [ubuntu] Root Password

August 23rd, 2008, 08:06 PM
How can I know if I already have a root password or not??? If I dont have one, how can I create one??? Any help?????

August 23rd, 2008, 08:10 PM
your root password is the password you chose when installing ubuntu as far as am aware :)

August 23rd, 2008, 08:23 PM
in addition to terry123b99
the default ubuntu user can become root.

for example
when you type "sudo commands <-args>" then your password you will become root automatically to execute the command, once complete your back to the normal user.

open your terminal, you will see something like
username@local-machine:~$ (notice the ~$) this is normal user

another example (not recommended to do work with)
type sudo bash, put the password in now you will see something like
root@local-machine:~# (notice root get ~#)

was this a bit too much hmmm

August 23rd, 2008, 08:23 PM
Instead of root, Ubuntu uses "sudo"

Please see https://help.ubuntu.com/community/RootSudo for more information :)

August 23rd, 2008, 08:24 PM
Ubuntu does not deal with root opasswords as such. The user account you set up during installation had administrative permissions. If you want to do a command that requires root permissions, you should prefix the command with "sudo", eg

sudo apt-get install somepackageorother

The computer will ask for your password - so you type in the password for that account.

August 23rd, 2008, 08:52 PM
If you have to ask if you have a root password set, I can guarantee you you don't need to set one or ever log in as root.

Why don't you tell us what you think you need a root login for, and we'll tell you the proper (and honestly probably more convenient) way to do it?