Changed username root, cannot connect via SSH anymore

Hi serverpeople :)

I did the stupidest thing ever, i changed my passwd file unconsciously and changed my root username. Now it looks like this:


Is there anyway to recover the root user? SSH’ing gives an permission denied right now.

The OS that im running: Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-57-generic x86_64) (LAMPP)




Submit an 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.

Try the console in your DigitalOcean panel.