I am using RHEL 5.10.
I have mistakenly deleted /etc/passwd file in my server (though I have the backup).
I'm just trying to get into single user mode by typing single
at the end of the kernel
line at grup command prompt. After that hitting enter
and b
to boot the OS.
But once the boot completes it's not getting into the single user mode. it's getting into the usual default runlevel 3 and asking me the root
password
again.
What am I missing out ?