Add two new accounts/groups for sendmail:
smmsp - sendmail 8.12 operates as a set-group-ID binary (instead of set-user-ID). This new user/group will be used for command line submissions. UID/GID 25 is suggested in the sendmail documentation and has been adopted by other operating systems such as OpenBSD and Solaris 9. mailnull - The default value for DefaultUser is now set to the uid and gid of the first existing user mailnull, sendmail, or daemon that has a non-zero uid. If none of these exist, sendmail reverts back to the old behavior of using uid 1 and gid 1. Currently FreeBSD uses daemon for DefaultUser but I would prefer not to use an account used by other programs, hence the addition of mailnull. UID/GID 26 has been chosen for this user. This was discussed on -arch on October 18-19, 2001. MFC after: 1 week
This commit is contained in:
parent
09088b1d15
commit
ca8b9ed373
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86510
@ -12,6 +12,8 @@ news:*:8:
|
||||
man:*:9:
|
||||
games:*:13:
|
||||
staff:*:20:root
|
||||
smmsp:*:25:
|
||||
mailnull:*:26:
|
||||
guest:*:31:root
|
||||
bind:*:53:
|
||||
uucp:*:66:
|
||||
|
@ -10,6 +10,8 @@ kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin
|
||||
games:*:7:13::0:0:Games pseudo-user:/usr/games:/sbin/nologin
|
||||
news:*:8:8::0:0:News Subsystem:/:/sbin/nologin
|
||||
man:*:9:9::0:0:Mister Man Pages:/usr/share/man:/sbin/nologin
|
||||
smmsp:*:25:25::0:0:Sendmail Submission User:/var/spool/clientmqueue:/sbin/nologin
|
||||
mailnull:*:26:26::0:0:Sendmail Default User:/var/spool/mqueue:/sbin/nologin
|
||||
bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin
|
||||
uucp:*:66:66::0:0:UUCP pseudo-user:/var/spool/uucppublic:/usr/libexec/uucp/uucico
|
||||
xten:*:67:67::0:0:X-10 daemon:/usr/local/xten:/sbin/nologin
|
||||
|
Loading…
Reference in New Issue
Block a user