Home » Uncategorized » 23 April 2008 » 1,006 supporters » No Comment »

Setting root password for ubuntu

23 April 2008 1,006 supporters No Comment

When the first time you installed Ubuntu, there is no password for root account. You have to set it first for a security reason.

You must type “sudo passwd”

[email protected]:~$ sudo passwd
[sudo] password for hostmaster:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

To login as root, type “su”

[email protected]:~$ su
[email protected]:/home/hostmaster#

The “#” indicate that you are login as root.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.