Home » Linux tips

Setting root password for ubuntu

23 April 2008 2 views No Comment

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

You must type “sudo passwd”

hostmaster@hostmaster-:~$ sudo passwd
[sudo] password for hostmaster:
Enter new password:
Retype new password:
passwd: password updated successfully

To as , type “su”

hostmaster@hostmaster-:~$ su
Password:
@hostmaster-:/home/hostmaster#

The “#” indicate that you are as .

Tags: , , , , , , , , , , , ,

Related posts

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=""> <strike> <strong>

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