Hello,
I'm trying to recover my /etc/passwd file, but I can't make it work. Im doing the following:
1. Booting from cd-rom:
2. Mounting hard disk drive
Quote:
# fsck -y /dev/dsk/c1t0d0s0
# mount /dev/dsk/c1t0d0s0 /a
3. Copying my passwd and shadow files to /a/etc/
Quote:
# cp /etc/passwd /a/etc/passwd
# cp /etc/shadow /a/etc/shadow
4. Unmounting Hard disk:
5. Rebooting
6. Stopping my OS from booting ( by pressing Stop+A).
7. Booting with -s option
The Next message appears:
Quote:
Type control -d to proceed with normal startup, ( or give root password for system maintenance).
Any ideas?
Thanks in advance.
---------- Post updated at 11:24 AM ---------- Previous update was at 10:07 AM ----------
Ok I got it, but is there anyway to recover the /home directories of my users?