user account
The record that lets a person or service use a Linux system, tying a login name to a UID, a primary group, a home directory and a login shell.
In more detail
Humans type the login name; the kernel only ever sees the numeric UID it resolves to. Local accounts come from /etc/passwd, and systems can also resolve accounts from a directory service over the network. A name identifies an account but does not prove who is using it; that is the job of authentication.
Example
The course record name=ana uid=1001 group=staff home=/home/a lists an account's fields in order.Related terms
- UID and GID — The numbers Linux uses to identify a user (UID) and a group (GID); root is UID 0.
- /etc/passwd — The world-readable file that lists local accounts, one per line: name, UID, GID, description, home directory and login shell, separated by colons.
- primary group — The group named in a user's account record, which new files the user creates belong to by default.
- login shell — The shell your account starts when you log in, recorded in the user database and shown by the SHELL variable.
- home directory — Your personal directory, such as /home/ada on Linux or /Users/ada on macOS, where your files and settings live.
- authentication — Establishing who a request represents, for example by checking a password, a session cookie or a signed token.
Taught in
- Six Seconds, Every Secret — Certified Kubernetes Security Specialist (CKS) Exam Prep
- There Is No Users Table: Authentication — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Who Read The Gateway Key? Audit Logging — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Fundamentals Sprint: Four Findings, Eight Questions — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Users, UIDs And The Password File — Linux Fundamentals & Systems Administration
- Groups, And How Shared Access Is Granted — Linux Fundamentals & Systems Administration
- SSH: The Protocol, And The Host Key You Accept — Linux Fundamentals & Systems Administration
- The Pager Command That Opened A Root Shell: sudo, su And Least Privilege — CompTIA Linux+ (XK0-006) Exam Prep
- No Space Left, Says The Disk With Room To Spare: Inodes, Held Files, Corruption And Repair — CompTIA Linux+ (XK0-006) Exam Prep