I followed bad instructions and left the -a
out of:
usermod -a -G wireshark ak
Now all of my groups have been lost, including sudo permissions:
$ groups
ak wireshark
If I understand correctly, I should be able to fix this by booting to the recovery option in GRUB, but I'm not sure what groups need to be added back.
Where can I check to find out what groups I used to be in?
adm dialout cdrom plugdev lpadmin admin sambashare
. It might be a start to get it fixed.