Lines 211-218
Link Here
|
211 |
#define EXIT_SUCCESS 0 /* success */ |
211 |
#define EXIT_SUCCESS 0 /* success */ |
212 |
#define EXIT_USAGE 1 /* invalid command syntax */ |
212 |
#define EXIT_USAGE 1 /* invalid command syntax */ |
213 |
#define EXIT_GROUP_FILE 2 /* group file access problems */ |
213 |
#define EXIT_GROUP_FILE 2 /* group file access problems */ |
214 |
#define EXIT_NOT_ROOT 3 /* not super user */ |
214 |
#define EXIT_NOT_ROOT 3 /* not superuser */ |
215 |
#define EXIT_NOT_EROOT 4 /* not effective super user */ |
215 |
#define EXIT_NOT_EROOT 4 /* not effective superuser */ |
216 |
#define EXIT_NOT_PRIMARY 5 /* not primary owner of group */ |
216 |
#define EXIT_NOT_PRIMARY 5 /* not primary owner of group */ |
217 |
#define EXIT_NOT_MEMBER 6 /* member of group does not exist */ |
217 |
#define EXIT_NOT_MEMBER 6 /* member of group does not exist */ |
218 |
#define EXIT_MEMBER_EXISTS 7 /* member of group already exists */ |
218 |
#define EXIT_MEMBER_EXISTS 7 /* member of group already exists */ |
Lines 481-491
Link Here
|
481 |
[\fB-g\fI group_name \fR] |
481 |
[\fB-g\fI group_name \fR] |
482 |
X.SH DESCRIPTION |
482 |
X.SH DESCRIPTION |
483 |
The \fBgroupmems\fR utility allows a user to administer his/her own |
483 |
The \fBgroupmems\fR utility allows a user to administer his/her own |
484 |
group membership list without the requirement of super user privileges. |
484 |
group membership list without the requirement of superuser privileges. |
485 |
The \fBgroupmems\fR utility is for systems that configure its users to |
485 |
The \fBgroupmems\fR utility is for systems that configure its users to |
486 |
be in their own name sake primary group (i.e., guest / guest). |
486 |
be in their own name sake primary group (i.e., guest / guest). |
487 |
X.P |
487 |
X.P |
488 |
Only the super user, as administrator, can use \fBgroupmems\fR to alter |
488 |
Only the superuser, as administrator, can use \fBgroupmems\fR to alter |
489 |
the memberships of other groups. |
489 |
the memberships of other groups. |
490 |
X.IP "\fB-a \fIuser_name\fR" |
490 |
X.IP "\fB-a \fIuser_name\fR" |
491 |
Add a new user to the group membership list. |
491 |
Add a new user to the group membership list. |
Lines 496-502
Link Here
|
496 |
X.IP "\fB-D\fR" |
496 |
X.IP "\fB-D\fR" |
497 |
Delete all users from the group membership list. |
497 |
Delete all users from the group membership list. |
498 |
X.IP "\fB-g \fIgroup_name\fR" |
498 |
X.IP "\fB-g \fIgroup_name\fR" |
499 |
The super user can specify which group membership list to modify. |
499 |
The superuser can specify which group membership list to modify. |
500 |
X.SH SETUP |
500 |
X.SH SETUP |
501 |
The \fBgroupmems\fR executable should be in mode \fB2770\fR as user \fBroot\fR |
501 |
The \fBgroupmems\fR executable should be in mode \fB2770\fR as user \fBroot\fR |
502 |
and in group \fBgroups\fR. The system administrator can add users to |
502 |
and in group \fBgroups\fR. The system administrator can add users to |