As default Ubuntu has no password set for the root user. To gain root access you have to type in your own user password. This is the password you set for the first user while installing Ubuntu.

To manually set a password for the root user, type in the following in the shell:

sudo passwd

After that you are asked to type in the new root password twice. Finally, your root user has its own password.
I also have another post to know
how to change computer name in Ubuntu

1 comments

  1. Anonymous // 5/23/07, 4:14 PM  

    This worked, exactly what I needed! Thanks.