xref: /titanic_50/usr/src/man/man1b/vipw.1b (revision 89b43686db1fe9681d80a7cf5662730cb9378cae)
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 "14 Sep 1992" "SunOS 5.11" "SunOS/BSD Compatibility Package Commands"
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)