Running Xubuntu 16.04
Made a newbie mistake; while I was adding my own account to the 'wireshark' group so I can start wireshark without using sudo
, I've removed myself from all the other groups I was in, including sudo
.
I used this command:
sudo usermod -G wireshark my_user_account
I'm thinking I forgot the -a
before the -G
?
Does anyone know how to view the history of a user as it relates to group membership. Or view a group history as it relates to user membership?
Just trying to get my user back into the groups it was in before I had a brainfart.
adduser
exist.adduser user group
is far more convenient and safer thanusermod -aG
. – muru Oct 04 '17 at 09:13