0

I just installed Ubuntu 20.04.1 and I must have screwed up. I have just one user account and with this account I'm unable to use sudo and su. This obviously prevents me from running apt-get and doing other things. I've seen some posts on this - people being unable to use sudo and a workaround with su, but I can't seem to use either command. Here is what I see after issuing each command and entering the password for skip33

$ sudo -i
skip33 is not in the sudoers group. This incident will be reported
$ su -
su: Authentication failure
$ usermod -aG sudo skip33
usermod: Permission denied.
$ sudo su
skip33 is not in sudoers group.

Ok, is there any way to fix this without reinstalling the OS?

I hope to hear back from you guys. Thanks.

ajgringo619
  • 1,172

0 Answers0