Set Ubuntu Linux Root password for the first time

Posted on Thursday, October 15, 2009 at 6:22 am
       

   
   

This is just a simple tip that I use when I did some Ubuntu Linux installations, and almost forgot how to set the root password. Because Ubuntu Linux doesn’t ask you for a root password when purchase propecia online you install, and assigns a random password for root, you can’t switch to root # in your environment.

All you can do is to login into the Desktop UI/shell with your newly created password. This tip will help you set your root password so you can use it subsequently.

This is how you set the Ubuntu Desktop Linux password:

1) Type in sudo -i
This switches your shell to Root # priviledges

2) passwd
This sets new UNIX Password for root

Now your Root password is set! And for one reason, if the owner did not set this sudo -i. it means you might be able to escalate root privileges for free.

Tags: , , ,
   

Leave a Reply

Why ask?



Recent Entries

Popular Posts

Recent Comments

  • Ahmad: Hi, Hi, Very Very Informative and Practical. :) :) :) :) Regards, Ahmad
  • Ahmad: Hi, Very Very Informative and Practical. :) :) :) :) Regards, Ahmad
  • Anis Laila: The piggy buns look yummy. I am reading up on the different Malaysia accommodations available for a...
  • DennisQuek: Of cos definitely it feels much lighter. It doesn’t really bulge out, and it is much easier to put...
  • siurui: hey there, u have very good reviews and i noticed u were a user of the e61 too (using it now). this might...