LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-01-2004, 11:40 AM   #1
mobyuk
LQ Newbie
 
Registered: Jun 2004
Location: Essex UK
Distribution: Red Hat
Posts: 5

Rep: Reputation: 0
Forgotten all passwords and logins!


I have trawled through the posts looking for an answer but cannot find anything. Sorry if this is rudiemntary, but I have installed Linux (for the first time), then not used it for a while, now I am learning UNIX at work and wanted to use Linux at home, and I have forgoten all login and password info including the root password (I know I know, stupid!) :NEWBIE:

Is there anyway around this without having to re install Linux from scratch?

Thanks in advance

Mobyuk
 
Old 06-01-2004, 12:15 PM   #2
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I'm not sure what Distro you are using. Most of them come with a 'rescue' mode on the cd that you installed from.... It will chroot you into the system. Then you can 'passwd root' and set a new password for root. You might want to take the time to download a live CD such as Knoppix or my favorite is the latest Gentoo CD.... They come in handy for stuff like this. Without knowing what Distro you are running thats about all I can say.... Anyone being able to change the root password is about the largest security hole not to mention very short sighted so I've implemented security polices on commands like that so I would be SOL if I were you. But, if you can get to a prompt thru one means or another all is well....
 
Old 06-01-2004, 01:53 PM   #3
linuxzouk
Member
 
Registered: Apr 2004
Location: Malaysia
Distribution: Fedora Core
Posts: 93

Rep: Reputation: 15
i replied to the same question 3rd time for today

not sure what distro u using, but should work in general
http://kitech.com.my/fedoraguide/ind...gerootpassword

change your root password, then change all your other user's password

good luck
 
Old 06-03-2004, 06:17 AM   #4
mobyuk
LQ Newbie
 
Registered: Jun 2004
Location: Essex UK
Distribution: Red Hat
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks

Sorted.

(Sorry should have mentioned distro = Red Hat 9)

As always, I am in awe of the amount of help and community spirit that exists in Linuxland.

Cheers guys.

Mobyuk
 
  


Reply


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
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 04:15 AM
Completely uninstalling MySQL and its passwords passwords...how? I locked myself out! Baix Linux - Newbie 2 01-30-2005 05:10 PM
Root & user logins : Passwords? Why not encryption keys instead? furfurdemon666 Linux - Security 4 07-02-2004 10:17 AM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 11:59 AM
forgotten passwords anything Linux - General 3 03-18-2003 03:23 PM


All times are GMT -5. The time now is 09:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration