Question

I kill my /etc/passwd needing help

Posted May 8, 2013 3.1k views
I use a same name file to recover /etc/passwd and shutdown. Coud I have any solution except rebuild QAQ

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer
You can recover your /etc/passwd file from your shadow file which most likely shouldn't have been affected if the issue you ran into was related directly to /etc/passwd.

Here is a great article on this:
http://www.cyberciti.biz/tips/recovering-deleted-etcshadow-password-file.html

We're looking to make a bit more progress in the next 2-3 weeks after our new control panel is released to provide new features to customers, one of which will be to boot a recovery ISO. This will then allow you to mount your virtual servers disk there and make any necessary changes if it has got to the point where you are unable to boot it directly.
Submit an Answer