vigr(8)

vigr8

Edit the password or group file

Part of vipw(8).

Usage

vipw [options]

vigr [options]

Overview

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.

Options

-h, --help

Display help text and exit.

-V, --version

Display version and exit.

Environment

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).

Releases

19 releases since Debian 1.1 (Buzz); the text changed 14 times.

  1. 1.1–1.2
  2. 1.3
  3. 2.0–3.0
  4. 3.1
  5. 4.0
  6. 5.0
  7. 6.0
  8. 7
  9. 8
  10. 9
  11. 10
  12. 11
  13. 12
  14. 13
  15. Arch

--help since Debian 4.0 (Etch); --version since Arch Linux 2026-11-01; -V since Arch Linux 2026-11-01; -h since Debian 4.0 (Etch).

--group until Debian 13 (Trixie); --passwd until Debian 13 (Trixie); --quiet until Debian 13 (Trixie); --root until Debian 13 (Trixie); --shadow until Debian 13 (Trixie); -R until Debian 13 (Trixie); -g until Debian 13 (Trixie); -p until Debian 13 (Trixie); -q until Debian 13 (Trixie); -s until Debian 13 (Trixie).

History

The vipw command appeared in 4.0BSD. The vigr command appeared in Util-Linux 2.6.

Availability

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/>

From util-linux 2.42.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.