Add user to sudoers again

Enrique Villalobos villalobosmiras at gmail.com
Wed Apr 12 15:58:17 UTC 2017


Hello,

I run this command:

sudo usermod -G www-data myuser

I forgot the "-a":

sudo usermod -a -G www-data myuser

Now myuser is not a sudoer so I can't add it to sudoers and I have no
root password since I never needed it before.

Can it be fixed somehow?

Thank you!




More information about the ubuntu-users mailing list