I just made a silly mistake on my Ubuntu Server box: I added myself to a group using usermod -G
, after which I discovered the -a
option...
The result is that I am now out of the admin
group, and lost my sudo rights. I can sort that out, but I want to know what other groups I may been removed from? My user was the first one so what I'm looking for is a list of groups that the first user gets added to at installation time.