vipw, vigr - edit the password or group file
edits the password file after setting the appropriate locks, and
does any necessary processing after the password file is unlocked. If the
password file is already locked for editing by another user, vipw
ask you to try again later. The default editor for vipw
edits the group file in the same manner as
does the passwd file.
If the following environment variable exists, it will be utilized by vipw
- The editor specified by the string EDITOR will be invoked instead
of the default editor vi(1).
command appeared in 4.0BSD.
command appeared in Util-Linux 2.6.
The vigr and vipw commands are part of the util-linux package and are available