Report this

What is the reason for this report?

I kill my /etc/passwd needing help

Posted on May 8, 2013

I use a same name file to recover /etc/passwd and shutdown. Coud I have any solution except rebuild QAQ



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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. <br> <br>Here is a great article on this: <br>http://www.cyberciti.biz/tips/recovering-deleted-etcshadow-password-file.html <br> <br>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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.