I kill my /etc/passwd needing help

May 8, 2013 2.1k views
I use a same name file to recover /etc/passwd and shutdown. Coud I have any solution except rebuild QAQ
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:

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.
Have another answer? Share your knowledge.