VIPW(8) System Management Commands VIPW(8)NAME
vipw, vigr - edit the password, group, shadow-password or shadow-group
file.
SYNOPSISvipw [options]
vigr [options]
DESCRIPTIONvipw and vigr will edit the files /etc/passwd and /etc/group,
respectively. With the -s flag, they will edit the shadow versions of
those files, /etc/shadow and /etc/gshadow, respectively. The programs
will set the appropriate locks to prevent file corruption. When looking
for an editor, the programs will first try the environment variable
$VISUAL, then the environment variable $EDITOR, and finally the default
editor, vi(1).
OPTIONS
The options which apply to the vipw and vigr commands are:
-g, --group
Edit group database.
-h, --help
Display help message and exit.
-p, --passwd
Edit passwd database.
-q, --quiet
Quiet mode database.
-s, --shadow
Edit shadow or gshadow database.
FILES
/etc/group
group account information
/etc/gshadow
shadow group file
/etc/passwd
user account information
/etc/shadow
secure user account information
SEE ALSOvi(1), group(5), gshadow(5)passwd(5), shadow(5).
System Management Commands 12/07/2005 VIPW(8)