xref: /illumos-gate/usr/src/man/man1b/vipw.1b (revision 8f0999b69c0d6e5d9e9706bcfac26b45bc5ef32a)
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 (5), attributes (7)