Results 1 to 5 of 5

Thread: How to change Ubuntu root password?

  1. #1
    Join Date
    Dec 2009
    Posts
    33

    How to change Ubuntu root password?

    Hey friends, I have a small issue regarding the use of the Ubuntu that i have installed a month before and forgot that i have installed in my system. But today when i am trying to install some of the application on the same which require some admin work for them but the problem is that i don't remember the password of the root. So tell me how to change the root password of the Ubuntu. Any help may be appreciated. Thank you

  2. #2
    Dr. V Guest

    Re: How to change Ubuntu root password?

    Hi there, It is very easy to change the password of the root in Ubuntu. Just follow these step which are helpful for the same. Open Terminal and then write the "sudo passwd" in it after that the Ubuntu will prompt you for the current password. Enter the current password and the click on the Enter key from the keyboard. Now again the Ubuntu will ask you for the new password for the root. Type the new one and and confirm it and it is done. Thanks

  3. #3
    Join Date
    May 2008
    Posts
    2,680

    Re: How to change Ubuntu root password?

    As per i know that Ubuntu did not set any password for the root. To make your own password you have to mention you own super user password. This password is set while you are installing the Ubuntu on your system for the First time. But if you want to set the password manually then you have to use the shell command for the same i.e. "sudo passwd". Thank you

  4. #4
    Join Date
    Nov 2005
    Posts
    3,026

    Re: How to change Ubuntu root password?

    Hey, It is set by default the root user is setup at the time of the installation of the Ubuntu. At it has no password for the security reason as set by the Ubuntu. It can be set initially with the user by accessing the root user privilege and then you can set the new password for the same. But it is strictly advised that don't change the root password from the default hash for many reason. If you need the access the use "sudo -i"

  5. #5
    Join Date
    Apr 2008
    Posts
    3,295

    Re: How to change Ubuntu root password?

    Why don't you log in as the another user. that will also enhance the feature of the admin with the super user access then you can use the below given code to became the super user i.e. sudo -i -u <username>. Suppose if you want to access the super user status with the user name of the "Ronald" then you have to use following syntax for the same i.e. "sudo -i -u Ronald". So try the same and see the working of it. Buy

Similar Threads

  1. How to setup Root password
    By DeepikaP in forum Operating Systems
    Replies: 4
    Last Post: 14-01-2011, 07:16 PM
  2. Replies: 3
    Last Post: 19-12-2010, 10:35 AM
  3. How to Change Windows Password from Ubuntu?
    By RICO12 in forum Tips & Tweaks
    Replies: 1
    Last Post: 01-01-2010, 05:56 PM
  4. How to change the root password in XAMPP?
    By Cortney in forum Operating Systems
    Replies: 3
    Last Post: 28-12-2009, 09:32 PM
  5. How to change the root password in linux
    By MATSU in forum Software Development
    Replies: 1
    Last Post: 03-12-2008, 01:59 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,446,429.88500 seconds with 17 queries