1VIPW(8) System Management Commands VIPW(8)
2
3
4
6 vipw, vigr - edit the password, group, shadow-password or shadow-group
7 file
8
10 vipw [options]
11
12 vigr [options]
13
15 The vipw and vigr commands edits 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
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.
41
42 -s, --shadow
43 Edit shadow or gshadow database.
44
46 VISUAL
47 Editor to be used.
48
49 EDITOR
50 Editor to be used if VISUAL is not set.
51
53 /etc/group
54 Group account information.
55
56 /etc/gshadow
57 Secure group account information.
58
59 /etc/passwd
60 User account information.
61
62 /etc/shadow
63 Secure user account information.
64
66 vi(1), group(5), gshadow(5) , passwd(5), , shadow(5).
67
68
69
70shadow-utils 4.8.1 03/24/2020 VIPW(8)