How To Access/Change Password For Root Account In Ubuntu



This post will show you how to login as root in Ubuntu
By default Ubuntu will not allow you to login as root due to security reason.

So how to login as root without knowing its password?
Ans : Here are simple steps to login as root.

Step1 : Login to normal user account

Step2 : Open a terminal and type the below command
$sudo su
Clipped output for your reference
surendra@test:~$ sudo su
[sudo] password for surendra:
root@test:/home/surendra#
So just enter your password you will get root prompt.

Step3 : Now set the password whatever you want. But try to assign a complex password with following criteria for security reasons.
root@test:/home/surendra#passwd

Follow these rules when setting a password.
1) The password should be 8 letter length
2) It should contain Alpha, numeric, symbols etc.

Please comment your thoughts regarding this post:-)

  • Like the post? Please Subscribe to free RSS feed to get updates
  • Related Posts by Categories



    0 comments:

    Archive

    Translate this page

     

    The Linux Juggernaut | Copyright 2006-2009 Surendra Kumar Anne | Surendra's Home Page | Give us feedback how we are doing, Click here