Penguin
Annotated edit history of grpck(8) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 GRPCK
2 !!!GRPCK
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 FILES
8 SEE ALSO
9 DIAGNOSTICS
10 AUTHOR
11 ----
12 !!NAME
13
14
15 grpck - verify integrity of group files
16 !!SYNOPSIS
17
18
19 __grpck__ [[__-r__] [[''group shadow'']
20 !!DESCRIPTION
21
22
23 __grpck__ verifies the integrity of the system
24 authentication information. All entries in the
25 ''/etc/group'' and ''/etc/gshadow'' are checked to see
26 that the entry has the proper format and valid data in each
27 field. The user is prompted to delete entries that are
28 improperly formatted or which have other incorrectable
29 errors.
30
31
32 Checks are made to verify that each entry has
33
34
35 - the correct number of fields
36 - a unique group name
37 - a valid list of members and administrators
38
39
40 The checks for correct number of fields and unique group
41 name are fatal. If the entry has the wrong number of fields,
42 the user will be prompted to delete the entire line. If the
43 user does not answer affirmatively, all further checks are
44 bypassed. An entry with a duplicated group name is prompted
45 for deletion, but the remaining checks will still be made.
46 All other errors are warnings and the user is encouraged to
47 run the __groupmod__ command to correct the
48 error.
49
50
51 The commands which operate on the ''/etc/group'' file are
52 not able to alter corrupted or duplicated entries.
53 __grpck__ should be used in those circumstances to remove
54 the offending entry.
55 !!OPTIONS
56
57
58 By default, __grpck__ operates on the files
59 ''/etc/group'' and ''/etc/gshadow''. The user may
60 select alternate files with the ''group'' and
61 ''shadow'' parameters. Additionally, the user may execute
62 the command in read-only mode by specifying the __-r__
63 flag. This causes all questions regarding changes to be
64 answered __no__ without user intervention.
65 !!FILES
66
67
68 /etc/group - group account information
69 /etc/gshadow - encrypted passwords and group administrator
70 information
71 /etc/passwd - user information
72 !!SEE ALSO
73
74
75 groupmod(8), group(5), passwd(5),
76 shadow(5)
77 !!DIAGNOSTICS
78
79
80 The __grpck__ command exits with the following
81 values:
82
83
84 0
85
86
87 Success
88
89
90 1
91
92
93 Syntax Error
94
95
96 2
97
98
99 One or more bad group entries
100
101
102 3
103
104
105 Cannot open group files
106
107
108 4
109
110
111 Cannot lock group files
112
113
114 5
115
116
117 Cannot update group files
118 !!AUTHOR
119
120
121 Julianne Frances Haugh (jfh@austin.ibm.com)
122 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.