627 B
627 B
title | tags | |
---|---|---|
Managing Groups |
|
Check which groups you are in, and which are available:
cat /etc/group
groups
cat /etc/group | grep $USER
Remove yourself from all groups, and add yourself back to only wheel
, audio
, and your own group:
sudo usermod --groups wheel,audio,$USER
Add yourself to the wheel
group:
su root -c "usermod --append --groups wheel $USER"
Add yourself to the network
group:
sudo usermod -aG network $USER
The changes will not take effect until you log in again, so reboot or log into localhost
with ssh.