Package shadow-utils

Utilities for managing accounts and shadow password files

https://github.com/shadow-maint/shadow

The shadow-utils package includes the necessary programs for
converting UNIX password files to the shadow password format, plus
programs for managing user and group accounts. The pwconv command
converts passwords to the shadow password format. The pwunconv command
unconverts shadow passwords and generates a passwd file (a standard
UNIX password file). The pwck command checks the integrity of password
and shadow files. The lastlog command prints out the last login times
for all users. The useradd, userdel, and usermod commands are used for
managing user accounts. The groupadd, groupdel, and groupmod commands
are used for managing group accounts.

Version: 4.15.1

See also: shadow-utils-subid.

General Commands

chage change user password expiry information
gpasswd administer /etc/group and /etc/gshadow
newgidmap set the gid mapping of a user namespace
newgrp log in to a new group
newuidmap set the uid mapping of a user namespace
passwd change user password
sg execute command as different group ID

Library Functions

shadow encrypted password file routines

File Formats

gshadow shadowed group file
login.defs shadow password suite configuration
shadow shadowed password file
subgid the configuration for subordinate group ids
subuid the configuration for subordinate user ids

System Administration

adduser alias for useradd
chgpasswd update group passwords in batch mode
chpasswd update passwords in batch mode
groupadd create a new group
groupdel delete a group
groupmems administer members of a user's primary group
groupmod modify a group definition on the system
grpck verify integrity of group files
grpconv alias for pwconv
grpunconv alias for pwconv
lastlog reports the most recent login of all users or of a given user
newusers update and create new users in batch
pwck verify the integrity of password files
pwconv convert to and from shadow passwords and groups
pwunconv alias for pwconv
useradd create a new user or update default new user information
userdel delete a user account and related files
usermod modify a user account
vigr alias for vipw
vipw edit the password, group, shadow-password or shadow-group file