Prev | Current Page 276 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

Ordinarily, writing to suid and sgid root-owned files as root is
disallowed.
If, for some reason, your site needs to allow delivery to suid and sgid root-owned files with
sendmail running as root, you can enable this behavior by adding a line such as the
following to your Build m4 file:
APPENDDEF(`confENVDEF', `-DSUID_ROOT_FILES_OK')
But be aware that you might open serious security holes on your system if you do this. We
recommend that SUID_ROOT_FILES_OK never be defined, except as a temporary debugging
technique.
If you define this compile-time macro, you will need to rebuild both libsm and sendmail for
it to have an effect.
If you are running a precompiled sendmail binary, you can use the -d0.1 debugging
command-line switch (?§15.7.1 on page 542) to determine whether SUID_ROOT_FILES_
OK support is included (if it appears in the list, support is included).
SPT_REUSEARGV Replace your argv with the information.
SPT_SCO Write to the kernel??™s u. area.
SPT_SYSMIPS Use sysmips(2) supported by NEWS-OS 6.
Table 3-13. Values available for use with SPT_TYPE (continued)
Define Description
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
3.4 Compile-Time Macro Reference | 147
3.4.64 SYSLOG_BUFSIZE
Limit syslog(3) buffer size Port, edit sendmail/conf.h
The sendmail program logs errors, information, and debugging messages using the syslog(3)
facility.


Pages:
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288
Perfumy trzpienie frezarskie monitory Wzory Umów sprzęt laboratoryjny