Go to the version of this page provided by the shadow-utils project
NAME | SYNOPSIS | DESCRIPTION | ENVIRONMENT | SEE ALSO | HISTORY | AVAILABILITY | COLOPHON |
VIPW(8) System Administration VIPW(8)
vipw, vigr - edit the password or group file
vipw [options] vigr [options]
vipw 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 will ask you to try again later. The default editor for vipw and vigr is vi(1). vigr edits the group file in the same manner as vipw does the passwd file.
If the following environment variable exists, it will be utilized by vipw and vigr: EDITOR The editor specified by the string EDITOR will be invoked instead of the default editor vi(1).
vi(1), passwd(1), flock(2), passwd(5)
The vipw command appeared in 4.0BSD. The vigr command appeared in Util-Linux 2.6.
The vigr and vipw commands are part of the util-linux package and are available from Linux Kernel Archive ⟨https://www.kernel.org/pub/linux/utils/util-linux/⟩.
This page is part of the util-linux (a random collection of Linux
utilities) project. Information about the project can be found at
⟨https://www.kernel.org/pub/linux/utils/util-linux/⟩. If you have a
bug report for this manual page, send it to
util-linux@vger.kernel.org. This page was obtained from the
project's upstream Git repository
⟨git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git⟩ on
2017-07-05. If you discover any rendering problems in this HTML ver‐
sion of the page, or you believe there is a better or more up-to-date
source for the page, or you have corrections or improvements to the
information in this COLOPHON (which is not part of the original man‐
ual page), send a mail to man-pages@man7.org
util-linux September 2011 VIPW(8)