Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

* * * * * 3 votes

How to Reset Lost Root Password in Ubuntu 14.04

  • Please log in to reply
2 replies to this topic

#1 NickAu


    Bleepin' Fish Doctor

  • Moderator
  • 13,555 posts
  • Gender:Male
  • Location: Australia
  • Local time:06:46 PM

Posted 14 May 2015 - 03:15 AM

How to Reset Lost Root Password in Ubuntu 14.04

Guide Overview
Reset lost Root password in Linux Ubuntu 14.04

Tools Needed


Step 1

1. Boot your Ubuntu PC and enter into Boot Option. Press ESC key when you see the BIOS screen. On the GNU GRUB menu, select *Advanced options for Ubuntu.


Step 2

2. On next screen,  select appropriate recovery mode and press Enter.


Step 3

3. In the recovery menu, select ‘root – Drop to root shell prompt’ option.


Step 4

4. Remount the filesystem to have write permission onto it. To do so, run the following command in the Terminal:

mount -rw -o remount /


Step 5

Once the shell is remounted with read/write permission, you can change the password. Run the following command to change the password.

sudo passwd username

Please note that you must replace username with your account name or user name for your Ubuntu system. In my case the username is nick

Step 6
You will be asked to create and confirm a password.

Edited by NickAu, 15 May 2015 - 05:47 PM.

BC AdBot (Login to Remove)


#2 cat1092


    Bleeping Cat

  • BC Advisor
  • 7,018 posts
  • Gender:Male
  • Location:North Carolina, USA
  • Local time:03:46 AM

Posted 16 May 2015 - 12:20 AM

Great Tutorial, Nick! :thumbup2:


And easy to understand, even for a Linux newbie. 



Performing full disc images weekly and keeping important data off of the 'C' drive as generated can be the best defence against Malware/Ransomware attacks, as well as a wide range of other issues. 

#3 Guest_hollowface_*


  • Guests

Posted 17 May 2015 - 02:57 PM

Something everyone could benefit from familiarizing themselves with, and also one of the reasons why it's important not to rely soley on your account password to protect your data from prying eyes. :P

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users