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!
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!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.