/Build install
install -c -o bin -g bin -m 555 rmail /usr/ucb
which does the install. The owner, group, and mode are set with confUBINOWN (?§2.7.73 on
page 101), confUBINGRP (?§2.7.71 on page 101), and confUBINMODE (?§2.7.72 on page 101),
respectively.
2.7.16 confGBIN...
The set-group-id settings Build macro
The non-set-user-id root version of sendmail (?§2.5 on page 60) uses a set-group-id means of
identity instead of the normal set-user-id root means. That is, it assumes the group identity
specified, no matter who runs it.
Three macros tune the group identity and permission for this non-set-user-id root version.
They are:
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
2.7 Build m4 Macro Reference | 77
confGBINGRP
This macro sets the group that the non-set-user-id root version of sendmail should
belong to. The group defaults to smmsp. If, as illustrated in ?§2.5.2 on page 63, you wish
to use a different group, you can do so like this:
define(`confGBINGRP??, `nullmail??) ?†? use a group name
define(`confGBINGRP??, `5343??) ?†? use a group number
If you use a positive number that is not too large, it will be accepted no matter what. If
you use a name that is not defined in the /etc/group file, you might see the following
error and the build will fail:
chgrp: nullmail: unknown group
confGBINMODE
This macro defines the execution mode that the non-set-user-id root version of sendmail
will have.
Pages:
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161