Prev | Current Page 121 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

12, * installation of sendmail became a bit more complex. You now
have the choice of running sendmail as either a set-user-id root or a non-set-user-id
root program. Our recommendation, beginning withV8.12, is to run sendmail as a
non-set-user-id root. If you wishto install sendmail as a set-user-id root program,
despite the potential security risks implied by such an approach, just issue this new
special command:
# ./Build install-set-user-id
The preferred way to install sendmail, beginning withV8.12, is to first create three
required system changes, and then to run ./Build install as usual:
??? Edit the /etc/passwd file (and possibly companion files suchas /etc/shadow and
/etc/master.passwd, or possibly network services suchas Network Information
Services [NIS]) to add the user smmsp. The name smmsp can be changed from its
default withth e confMSPQOWN build macro (?§2.7.38 on page 91). The specifics of
adding a new user will vary based on the version of Unix you are running.
??? Edit /etc/group file (or possibly network services suchas NIS) to add the new
group smmsp. The name smmsp can be changed from its default with the
confGBINGRP build macro (?§2.7.16 on page 76). The specifics of adding a new
group will vary based on the version of Unix you are running.
??? Edit the /etc/rc.local file (or a different file depending on your version of Unix,
suchas /etc/init.


Pages:
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133