Easiest way is reinstall unless it is a complicated setup.Quote:> What can i do if the passwd file in the etc folder is corrupt? The system
> do's not startup anymore. No root console login is possible. Is the only
way
> to reinstall the Station?
You could remove disk & mount on another workstation/server and empty
password entry for root in /etc/passwd (& /etc/shadow if entry in passwd is
x)
Dave
-david-
Boot from your CD and check this file
If it looks ok copy it over your "corrupt passwd" :-) and run pwconv
afterwards
Hope this helps
regards
Klaus
Quote:> What can i do if the passwd file in the etc folder is corrupt? The system
> do's not startup anymore. No root console login is possible. Is the only
way
> to reinstall the Station?
boot cdrom -s
You will now be logged in as root. Mount the boot drive by mounting to
/a. Then you can go in to /etc to see if you can read your passwd file.
If you can, make a copy to another file as well as a copy of the shadow
file.
After that, edit the shadow file if you can and remove only the
encrypted password entry for root. Then see if you can reboot. If not,
then boot off the cdrom again and remount the drive to /a. Copy
/etc/passwd and /etc/shadow from the cdrom to /a/etc. Make sure the root
entry in the shadow file doesn't have a password. Then reboot. Good luck.
> Boot from your CD and check this file
> If it looks ok copy it over your "corrupt passwd" :-) and run pwconv
> afterwards
> Hope this helps
> regards
> Klaus
>>What can i do if the passwd file in the etc folder is corrupt? The system
>>do's not startup anymore. No root console login is possible. Is the only
> way
>>to reinstall the Station?
1. Passwd file corrupt Please Help
A machine on our network has some how managed to get its passwd file
corrupted and the entry in it for root no longer has /bin/bash (or any
other shell) called out on it. Since we can not log on as root we can
not change this (because of permissions). How can we fix this. Please
help.
Thank you in advance.
Chris
3. freebsd passwd file corrupt
4. Sudden problem posting news
6. 2.2.1->2.2.stable upgrade problem
9. Help, Sun passwd file corrupt
10. freebsd passwd file corrupt
12. Corrupted /etc/passwd file Cant Login!!!!!!