w*p 发帖数: 16484 | 1 Someone delete the /etc/passwd file in my solaris workstation, now nobody can
log in the machine now, does anybody has a way to recover it? | W****n 发帖数: 141 | 2 try recover from
/etc/shadow
I mean get the username from this file.
then use some script to create a new passwd file
according to its format.
Good Luck
【在 w*p 的大作中提到】![](/moin_static193/solenoid/img/up.png) : Someone delete the /etc/passwd file in my solaris workstation, now nobody can : log in the machine now, does anybody has a way to recover it?
| T********r 发帖数: 6210 | 3 STOP_A
> boot -s
hopefully it can drop you a root shell. if not, you need solaris
setup cd to boot.
Then mount the hard drive, and create a new passwd file.
【在 w*p 的大作中提到】![](/moin_static193/solenoid/img/up.png) : Someone delete the /etc/passwd file in my solaris workstation, now nobody can : log in the machine now, does anybody has a way to recover it?
|
|