Report this

What is the reason for this report?

I'm STUPID, I guess.. help!

Posted on February 11, 2015

So, I tried to follow the new install Ubuntu guide yesterday, and deleted the root account and I’m sure I followed the guide but somehow my username is not a sudoer…

I’m very sure I put this command yesterday: gpasswd -a username sudo cause I wrote it down in my agenda etc…

But I did a hard reset from the digitalocean website… Could this have deleted my username from the sudoers list…?

Does this mean I fucked up and need to start from scratch? Or is there anyway to unlock or reset the root or give my username some more access…?

I did install an SSH key I guess… Is there any way to use that to log into root…?

Thanks ever so much :)



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.

If by “hard reset” you actually mean “I hit the “Rebuild” button”, then yes you’ll need to log in as root and set up your account again.

you can’t actually delete the root account, you CAN reset the password for the account under your drolets page. you click on access, then reset root password

well, I have the root password, I just disabled the login for root and made my account a sudoer.

But now I can’t do anything with my account, it just gets the message ‘not a sudoer’.

The only I did outside of Wordpress since yesterday is clicking the ‘power cycle’.

So, is there any way to log in with root again? Or should I backup my wordpress and re-install a droplet…?

Thanks!

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.