Changed username root, cannot connect via SSH anymore

Posted March 12, 2016 4.9k views
LAMP Stack

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)



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.

Submit an Answer
1 answer

Try the console in your DigitalOcean panel.