⌨️User Group (Linux)
Also known as Linux Group, Unix Group, groups Command
A named set of Linux users that share the same rights.
Think of it like
Think of it like a club badge. Everyone with the badge may use the club room.
Why it matters
Groups let a team share files and tools without handing anyone the root key.
Definition
Example code
console
$ sudo usermod -aG docker jack
$ groups jack
jack : jack dockerCommon mistake
Key takeaways
- 1A named set. Many users, one name.
- 2Rights by group. Give access once, to all.
- 3Log in again. New groups apply at the next login.