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.

Photo
* * * * * 3 votes

How to Reset Lost Root Password in Ubuntu 14.04


  • Please log in to reply
2 replies to this topic

#1 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 12,689 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:10:16 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
None

Instructions

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.

nick.png


Step 2

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

n2.png
 

Step 3

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

n3.png

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 /

160-photo(1).jpg
 

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
162-photo(4).jpg

Step 6
You will be asked to create and confirm a password.
 
163-photo.jpg


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


BC AdBot (Login to Remove)

 


#2 cat1092

cat1092

    Bleeping Cat


  • BC Advisor
  • 6,998 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina, USA
  • Local time:08:16 AM

Posted 16 May 2015 - 12:20 AM

Great Tutorial, Nick! :thumbup2:

 

And easy to understand, even for a Linux newbie. 

 

Cat


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_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

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