I've lost sudo access and I don't really understand why

Oliver Grawert ogra at ubuntu.com
Wed Mar 18 22:29:22 UTC 2020


hi,

Am Mittwoch, den 18.03.2020, 21:28 +0000 schrieb Chris Green:
> 
> Surely there's an easier way to add oneself to an extra group.

from:
http://manpages.ubuntu.com/manpages/xenial/man8/adduser.8.html

...
Add an existing user to an existing group
  If called with two non-option arguments, adduser will add an existing
user to an existing group.
...

so in single user mode you do:

adduser <yourusername> sudo


ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20200318/de0beaa9/attachment.sig>


More information about the ubuntu-users mailing list