how to log in as root on desktop

Scott Stevenson scott at
Tue Nov 30 09:57:24 UTC 2010

On Tue, Nov 30, 2010 at 03:04:28PM +0530, yatheesh y wrote:
> i am new to ubuntu
> When i am installing ubuntu i have entered password what is that ?
> how can i get root privilages without login as root
> thank you

The password you entered when you installed Ubuntu was for your user
account (Ubuntu doesn't set a root password [1]). If you want to execute
a command with root privileges, prefix the command with `sudo'. For
example, to execute the command `foo' as the current user you'd type

    $ foo

into the terminal (Applications > Accessories > Terminal). To execute
the same command with root privileges, type

    $ sudo foo
    [sudo] password for (your username here):

where sudo is asking for _your_ user's password, not the root password.
You can learn more about sudo by typing

    $ man sudo

into the terminal.


Scott Stevenson <scott at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 841 bytes
Desc: not available
URL: <>

More information about the ubuntu-users mailing list