/etc/shadow deleted

How do we get back into the system?! The /etc/shadow file has been deleted!
[89 byte] By [lj2009] at [2007-11-25 23:17:41]
# 1
have you got any password less methods for getting back to the system like rlogin, rcp, rsh or ssh with public key authentication. otherwise you have to manually set the passwords in single user mode.
mswahid at 2007-7-5 18:06:14 > top of Java-index,General,Talk to the Sysop...
# 2
I'd suggest retrieving the file from a backup...
mr_crusoe at 2007-7-5 18:06:14 > top of Java-index,General,Talk to the Sysop...
# 3

If all else fails, boot from CDROM into single user mode, and mount /etc (or / if /etc is under /) as /a. This should enable you to recreate a temporary /etc/shadow file to get you logged in as root at which point you should be able to reboot the system and restore the /etc/shadow file from backup.

al_robinson at 2007-7-5 18:06:14 > top of Java-index,General,Talk to the Sysop...