Package shadow-utils

Utilities for managing accounts and shadow password files

http://pkg-shadow.alioth.debian.org/

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.

General Commands
Command Description
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
sg execute command as different group ID
Library Functions
Library Function Description
shadow encrypted password file routines
File Formats
File Description
gshadow shadowed group file
login.defs shadow password suite configuration
shadow shadowed password file
subgid the subordinate gid file
subuid the subordinate uid file
System Administration
Command Description
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
lastlog reports the most recent login of all users or of a given user
newusers update and create new users in batch
pwck verify integrity of password files
pwconv convert to and from shadow passwords and groups
useradd create a new user or update default new user information
userdel delete a user account and related files
usermod modify a user account
vipw edit the password, group, shadow-password or shadow-group file