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 -s, --shadow
39 Edit shadow or gshadow database.
40
42 /etc/group
43 Group account information.
44
45 /etc/gshadow
46 Secure group account information.
47
48 /etc/passwd
49 User account information.
50
51 /etc/shadow
52 Secure user account information.
53
55 vi(1), group(5), gshadow(5) passwd(5), shadow(5).
56
57
58
59System Management Commands 07/24/2009 VIPW(8)