vipw — Edit the Password File

Synopsis

/usr/ucb/vipw 

Description

vipw edits the passwd 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, you are told to try again later. The vi(1) editor is 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 does 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 

Attributes

See attributes(5) for descriptions of the following attributes:

Attribute Type Attribute Value ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.