Managing Groups
Check which groups you are in, and which are available:
1cat /etc/group
2groups
3cat /etc/group | grep $USER
Remove yourself from all groups, and add yourself back to only wheel
, audio
, and your own group:
1sudo usermod --groups wheel,audio,$USER
Add yourself to the docker
group:
1su root -c "usermod --append --groups docker $USER"
Add yourself to the network
group:
1sudo usermod -aG network $USER
The changes have not taken effect, so log into your own account again with su
:
1groups
2sudo su $USER
3groups