-   Linux - Newbie (
-   -   Passwd files corrupt - I am locked out. Need Help!!! (

cloy 02-16-2001 02:33 PM

First let me start by saying thatI am fairly new to the Linux world, This is my first installation of 7.0. I have been working on establishing SAMBA clients and working with smbpasswd - Everything appeared to be going fine until I processed the third user into the smbpasswd database. I received an error writing out the converted password. Since my last reboot - I can not log into the system using any id & password (root included). Anyway, to make a long story short, I have a couple questions.

1) What do I do now to get back on the system?

2) What is the process that I need to follow to reset all passwd and smbpasswd files back to a point when they are all in sink again?

Thanks for any advice in advance.


trickykid 02-16-2001 03:16 PM

Well first you want to at least get into the system, by typing Linux 1 at the boot prompt. This will put you in single user mode where you won't be prompted for a login or password and then go check or edit files if possible.

cloy 02-16-2001 04:11 PM

That is great news, I did not know that was the way that initlevel l worked.

Any advice on restoring a corupt passwd file?



trickykid 02-16-2001 05:01 PM

Not unless you backed them up elsewhere. If not, looks like a lot of typing maybe.

cloy 02-16-2001 05:25 PM

I did not have a back-up copy - my bad.

I only have a handful of users so that is no big deal, what I am worried about is all the standard users and groups (i.e. root, lp, etc...) where can I start? Is there a generic copy nested in an RPM that I can grab?


All times are GMT -5. The time now is 04:39 AM.