Users and Groups

Every person and many programs on a Linux computer have a user account with a number and a list of groups: whoami, id and groups show yours, /etc/passwd lists every account, adduser and usermod -aG add a person and a group, and a server runs each program as a user of its own.

Updated

Cheat sheet for the lesson Users and Groups: Every person and many programs on a Linux computer have a user account with a number and a list of groups: whoami, id and groups show yours, /etc/passwd lists every account, adduser and usermod -aG add a person and a group, and a server runs each…
Category
Bash
Level
Journeyman
Tags
linux, principle-of-least-privilege, system-user, unix, useradd, user-and-group, user-id