passwd and group

  • User account information is stored in /etc/passwd.

  • Each line in /etc/passwd contains a username, password, UID, GID, user’s name, home directory, and default shell.

  • Group information is stored in /etc/group.

  • Each line in /etc/group contains a group name, group password, GID, and group member list.

  • passwd and group are world-readable.

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.