LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 06-03-2008, 04:50 PM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 128,353

Rep: Reputation: 118Reputation: 118
LXer: Using chroot to Recover root Passwords


Published at LXer:

There’s a system that's on my self, and I've come to realize that I no longer remember the password for this machine. Rather than reinstall the system, I used a much easier method utilizing chroot.

Read More...
 
Old 06-03-2008, 06:04 PM   #2
davedave1
LQ Newbie
 
Registered: Jun 2007
Location: Canberra
Distribution: Gentoo, Ubuntu 7, Ubuntu 5
Posts: 17

Rep: Reputation: 0
Seems about the same as deleting the password field in /etc/passwd In case you're wondering - the password field is x as the passwords are stored in a separate encrypted file.
My way doesn't require chroot, just being able to mount the partition.
On reboot you are immediately logged in as root before being asked a password.
Possibly a problem on a live system, but if this is a live system then you have bigger problems if you can't remember the root password.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you use Knoppix to recover Win2000 passwords jnc01 General 10 04-22-2007 06:32 AM
two root passwords openbysource Red Hat 4 12-02-2005 07:19 AM
Multiple root passwords xp1o1d5 Linux - Security 2 07-06-2005 10:00 PM
two root passwords!!!! mufy Linux - Security 9 01-06-2005 05:10 AM
Help! root has two passwords! jev-bird Linux - Security 13 11-25-2004 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

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

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