LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   by accedient deleated /etc/passwd (https://www.linuxquestions.org/questions/linux-server-73/by-accedient-deleated-etc-passwd-905287/)

ranjit rajput 09-27-2011 03:56 PM

by accedient deleated /etc/passwd
 
If someone accediently delete /etc/passwd file and server rebooted then how to recove

MensaWater 09-27-2011 03:58 PM

If you boot into single user mode from the console it will automatically put you in as root. You can then create your password entries as root. Better yet if you have a copy of the passwd file you can copy it over then set the root password to what you want.


All times are GMT -5. The time now is 05:29 AM.