xref: /illumos-gate/usr/src/man/man1b/vipw.1b (revision 2aeafac3612e19716bf8164f89c3c9196342979c)
te
Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved.
Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution.
VIPW 1B "Sep 14, 1992"
NAME
vipw - edit the password file
SYNOPSIS

/usr/ucb/vipw
DESCRIPTION

vipw edits the password file while setting the appropriate locks, and does any necessary processing after the password file is unlocked. If the password file is already being edited, then you will be told to try again later. The vi(1) editor will be used unless the environment variable VISUAL or EDITOR indicates an alternate editor.

vipw performs a number of consistency checks on the password entry for root, and will not allow a password file with a "mangled" root entry to be installed. It also checks the /etc/shells file to verify the login shell for root.

FILES
/etc/ptmp

/etc/shells

SEE ALSO

passwd(1), vi(1), passwd(4), attributes(5)