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 :)
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.