Add user to sudoers again

Xen list at xenhideout.nl
Wed Apr 12 17:09:22 UTC 2017


Ralf Mardorf schreef op 12-04-2017 19:06:
> On Wed, 12 Apr 2017 18:52:55 +0200, Xen wrote:
>> Enrique Villalobos schreef op 12-04-2017 17:58:
>>> I run this command:
>>> 
>>> sudo usermod -G www-data myuser
>>> 
>>> I forgot the "-a":
>>> 
>>> sudo usermod -a -G www-data myuser
>>> 
>> Then you can simply run passwd for your root user
>> 
>> # passwd
>> 
>> After that you can reboot and login to root with the new password and
>> fix it.
> 
> The password doesn't grant root privileges, if the user isn't in the
> appropriate group ;).

You just activated the root passwd. The root password is normally 
disabled.




More information about the ubuntu-users mailing list