Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-18-2015, 09:59 PM   #1
LQ Newbie
Registered: Feb 2015
Posts: 2

Rep: Reputation: Disabled
forgotten/compromised password for localhost username root

hi sir.need ur help. a desktop comp is endorsed to me with Linux system. the previous user failed to give the password for localhost root and im not able to login to the system. I really need to backup the files and programs installed and afraid to reboot since our database program is installed in the pc. would really appreciate your help.ty
Old 02-18-2015, 11:09 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
If you have physical access, rebooting into single user mode should allow you to reset the root password. Google around for Linux single user mode and you should find directions for how to do this.
Old 02-19-2015, 06:03 AM   #3
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
In a particular distro even a single user mode asks for root password. Best would be use a live-cd/dvd and use chroot and friends. Read/search similar posts in this forum.
Old 02-20-2015, 02:56 AM   #4
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,245

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
and if grub is password protected .....
or if the drive is encrypted .....

get the password from the original user

or the BEST option

use DBAN and nuke the drive and install a NEW os
Old 02-20-2015, 04:11 AM   #5
Senior Member
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: AntiX
Posts: 1,989

Rep: Reputation: Disabled
Search online for a john the ripper tutorial.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgotten username and password kpronaldo007 Linux - Newbie 1 03-01-2013 10:26 PM
Forgotten username and password used during installation bernadette Linux - Newbie 4 02-16-2007 02:40 AM
forgotten my root password, help amanjsingh Linux - Newbie 16 03-31-2004 10:41 PM
username password forgotten red hat 9 scrollcap Linux - General 1 01-10-2004 08:24 PM
forgotten username and password muz Linux - Newbie 2 02-10-2003 03:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration