how to sign in as root user?

Avi Greenbury avismailinglistaccount at
Tue Oct 21 16:23:46 UTC 2008

Charlie Dorff wrote:
> Hi...
> Could someone please explain how to sign in as root user? Also, do I need to set up a user name and password for root user or will my user name and pass word I created when I installed Ubuntu work? Thanks.
> Charlie

The command
sudo passwd
will allow you to set a root password. Then you can login as root.

Note that logging in as root is generally regarded as A Bad Idea, 
logging in as yourself and su-ing to root A Better One.

Avi Greenbury :)

More information about the ubuntu-users mailing list