Results 1 to 2 of 2
Hi, My machine is getting an error in booting and keeps automatically rebooting. The error message: "cannot find password database". This is after I had a system crash and had ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-06-2009 #1
- Join Date
- Aug 2009
"cannot find password database", boot failure
My machine is getting an error in booting and keeps automatically
rebooting. The error message: "cannot find password database".
This is after I had a system crash and had to manually fsck the root
I have no idea where this "password database" is. Online search, including
on this forum, turned up nothing. I tried to play with /etc/passwd. That
did not help either.
At this point, I can get in the system through the rescue disk. But I can
not start it through regular boot.
I am running FC10, 126.96.36.199-117.fc10.i686.PAE
I am wondering if there is a way of repairing this "password
database", which I guess may be the only way of getting the system back to normal.
Any advices or suggestions will be greatly appreciated.
- 08-11-2009 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
The password database is actually several files in /etc - passwd, shadow, group. The file /etc/shadow contains the actual encrypted passwords and has to have permissions set to 420 (-r---w----).
It is likely that the crash damaged the /etc directory and/or some of the files in it. If the password files have been munged, then other necessary system files in /etc are also likely fubar and you might need to do a reinstall of your system. So, boot up a rescue cd and backup your data before you do anything else.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!