Add user to sudoers again
Ralf Mardorf
silver.bullet at zoho.com
Wed Apr 12 17:08:25 UTC 2017
On Wed, 12 Apr 2017 19:06:10 +0200, Ralf Mardorf wrote:
>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 ;).
Pardon, you recommend to add a root account!
+1
More information about the ubuntu-users
mailing list