directory service
A central network database, often queried by many machines, that stores user accounts and groups so they do not have to be copied to every host.
In more detail
On such systems an account may not appear in /etc/passwd at all, yet still resolves to a UID. The file /etc/nsswitch.conf lists which sources the system consults and in what order. When diagnosing identity, confirm which source supplied the record before editing anything.
Related terms
- 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.
- /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.
- UID and GID — The numbers Linux uses to identify a user (UID) and a group (GID); root is UID 0.
Taught in
- Users, UIDs And The Password File — Linux Fundamentals & Systems Administration