Files
lk/system/groups.md
2026-04-27 01:30:33 +02:00

819 B

title, tags
title tags
Managing Groups
system

Check which groups you are in, and which are available:

groups
cat /etc/group
column -ts: /etc/group
grep $USER !$

Remove yourself from all groups, and add yourself back to only mail, audio, and your own group:

sudo usermod --groups mail,audio,$USER

Add yourself to the docker group, if there is one:

grep docker /etc/group
sudo usermod --append --groups docker $USER

Add yourself to the games group:

sudo usermod -aG games $USER

You are now legally permitted to play games.

The changes have not taken effect, so log into your own account again with su:

groups
grep audio /etc/group

sudo usermod -aG audio $USER
groups
grep audio /etc/group

su $USER
groups
grep audio /etc/group