user database

The system list of user accounts, traditionally the file /etc/passwd, recording each user's ID, home directory and login shell.

In more detail

The SHELL variable is filled in from here when you log in, and chsh edits the shell field for you. On macOS the same information lives in a directory service, but the commands that read it behave alike.

Related terms

Taught in

References