1VIPW(8)                   System Management Commands                   VIPW(8)
2
3
4

NAME

6       vipw, vigr - edit the password, group, shadow-password or shadow-group
7       file
8

SYNOPSIS

10       vipw [options]
11
12       vigr [options]
13

DESCRIPTION

15       The vipw and vigr commands edit the files /etc/passwd and /etc/group,
16       respectively. With the -s flag, they will edit the shadow versions of
17       those files, /etc/shadow and /etc/gshadow, respectively. The programs
18       will set the appropriate locks to prevent file corruption. When looking
19       for an editor, the programs will first try the environment variable
20       $VISUAL, then the environment variable $EDITOR, and finally the default
21       editor, vi(1).
22

OPTIONS

24       The options which apply to the vipw and vigr commands are:
25
26       -g, --group
27           Edit group database.
28
29       -h, --help
30           Display help message and exit.
31
32       -p, --passwd
33           Edit passwd database.
34
35       -q, --quiet
36           Quiet mode.
37
38       -R, --root CHROOT_DIR
39           Apply changes in the CHROOT_DIR directory and use the configuration
40           files from the CHROOT_DIR directory. Only absolute paths are
41           supported.
42
43       -s, --shadow
44           Edit shadow or gshadow database.
45

ENVIRONMENT

47       VISUAL
48           Editor to be used.
49
50       EDITOR
51           Editor to be used if VISUAL is not set.
52

FILES

54       /etc/group
55           Group account information.
56
57       /etc/gshadow
58           Secure group account information.
59
60       /etc/passwd
61           User account information.
62
63       /etc/shadow
64           Secure user account information.
65

SEE ALSO

67       vi(1), group(5), gshadow(5) , passwd(5), , shadow(5).
68
69
70
71shadow-utils 4.14.0               10/03/2023                           VIPW(8)
Impressum