Review your favorite Linux distribution.
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 06-14-2004, 10:59 PM   #1
LQ Newbie
Registered: Jun 2004
Posts: 4

Rep: Reputation: 0
root's password gone after upgrade

Here is the rundown

1. Installed slackware 9.1
2. booting into linux I logged in as root and entered root's password
3. I ran swaret and updated a lot of packages
4. Now when booting into linux I dont need to enter roots password. I just type in root and hit enter and I am allowed in.
5. I had to run "passwd" to set roots password again.
6. It now prompts me for roots password when I boot back into linux.

I follow one of the guides in the slackware forum for this whole installation. After running swaret to upgrade all my packages I went and renamed a lot of the ".new" files and erased the originals. It seems like I must of overwrote a file that contained roots password. Which file was that if this is the case, I am unable to figure it out. If this isnt the case then what might have happened to erase roots password ?

Thanks !
Old 06-14-2004, 11:20 PM   #2
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
Passwords are stored in encrypted form in /etc/shadow (in some distro's the location of shadow can vary, and some don't encrypt so shadow isn't used). You might have deleted this file, but more likely the upgrade you did reset the password for some reason.

PS I believe when "shadow passwords" aren't used the password is stored in /etc/passwd as plain text. Bad idea.
Old 06-14-2004, 11:23 PM   #3
LQ Newbie
Registered: Jun 2004
Posts: 4

Original Poster
Rep: Reputation: 0
ahh ha ! I do remember removing shadow and replacing it. Thanks for the help


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
root's password not working under X blind_chipmunk Linux - General 8 05-12-2005 11:38 AM
root's .bash_profile xushi Solaris / OpenSolaris 2 05-11-2005 06:28 PM
root's clone karunesh Linux - General 5 06-02-2004 07:20 AM
What is root's password in knoppix? MasterC Linux - General 6 06-23-2003 04:18 AM
password problems after upgrade to RH7.2 linuxiscool Linux - General 4 02-26-2002 02:59 PM > Forums > Linux Forums > Linux - Newbie

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