LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2009, 09:54 AM   #1
mrhobbeys
LQ Newbie
 
Registered: May 2005
Location: Oklahoma
Posts: 9

Rep: Reputation: 1
Over a year later forgot dsl password... now what


So its been over 500 days since I last logged into this machine; I thought I had an easy password set, but this turns out not to be the case. Its a really old P1 that I have dsl on and I have no idea what my password is.

I also feel like I was only LUCKY to get the dsl to install in the first place because I had to open the CD drive and actually use my hand to spin the CD and then close the drive fast enough and at the right time so that it would keep spinning in order to get a proper read (odd right?) so please don't tell me to reinstall.
 
Old 07-04-2009, 10:03 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Assuming that DSL uses GRUB, this is easy. When the GRUB menu appears, it any key to stop the count, then hit "e" for edit. Select the kernel line, "e" again, and add the word "single" (no quotes) to the end. Hit enter, and then "b" to boot.

The machine will come up in single user mode, running as root with no password. You can then set new passwords as needed.

eg:
passwd root
passwd <username>
 
Old 07-04-2009, 10:20 AM   #3
mrhobbeys
LQ Newbie
 
Registered: May 2005
Location: Oklahoma
Posts: 9

Original Poster
Rep: Reputation: 1
That was great! Thank you very much.

Does that work on all distros?
 
Old 07-04-2009, 10:22 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
No. Many will prompt for the root password before letting you into single user mode. When that's the case, you need to boot from a live CD, mount the local hard drive, and clear the password (or chroot into the drive and run 'passwd' to change it).
 
Old 07-04-2009, 03:31 PM   #5
cmdln
Member
 
Registered: Apr 2009
Location: Lawrence, KS
Distribution: Debian, Centos
Posts: 108
Blog Entries: 1

Rep: Reputation: 25
Quote:
Originally Posted by AlucardZero View Post
No. Many will prompt for the root password before letting you into single user mode. When that's the case, you need to boot from a live CD, mount the local hard drive, and clear the password (or chroot into the drive and run 'passwd' to change it).
http://www.cmdln.org/2009/01/18/howt...ord-on-debian/.

That password can also typiccally be bypassed if you append init=/bin/bash to the params as well.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
Forgot my Password khattaking Solaris / OpenSolaris 2 07-20-2006 12:33 PM
Forgot PASSWORD !!! bipinkdas Ubuntu 2 03-27-2005 10:37 AM
forgot password =( ?!?! j_miguel_y Linux - General 1 08-31-2004 11:58 AM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 07:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:09 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