Browse Source

Allow multiple users to share the same aucat server. If aucat is

run by root, it binds a shared address to the socket, cranks the
process priority and drops privileges. sio_open(3) will try to
connect to the private socket first (if any), then to the shared
socket. Only one user may have connections to aucat at a given
time.
based on discussions with henning, pyr and others
ok jacek, deraadt
OPENBSD_4_8
ratchov 14 years ago
parent
commit
7c2f0fae99
4 changed files with 6 additions and 2 deletions
  1. +2
    -1
      src/etc/ftpusers
  2. +1
    -0
      src/etc/group
  3. +2
    -1
      src/etc/mail/aliases
  4. +1
    -0
      src/etc/master.passwd

+ 2
- 1
src/etc/ftpusers View File

@ -1,4 +1,4 @@
# $OpenBSD: ftpusers,v 1.40 2010/02/22 15:16:45 claudio Exp $
# $OpenBSD: ftpusers,v 1.41 2010/04/22 17:43:30 ratchov Exp $
# #
# list of users disallowed any ftp access. # list of users disallowed any ftp access.
# read by ftpd(8). # read by ftpd(8).
@ -50,3 +50,4 @@ _smtpd
_rwalld _rwalld
_nsd _nsd
_ldpd _ldpd
_sndio

+ 1
- 0
src/etc/group View File

@ -63,6 +63,7 @@ _smtpd:*:95:
_rwalld:*:96: _rwalld:*:96:
_nsd:*:97: _nsd:*:97:
_ldpd:*:98: _ldpd:*:98:
_sndio:*:99:
dialer:*:117: dialer:*:117:
nogroup:*:32766: nogroup:*:32766:
nobody:*:32767: nobody:*:32767:

+ 2
- 1
src/etc/mail/aliases View File

@ -1,5 +1,5 @@
# #
# $OpenBSD: aliases,v 1.32 2010/02/22 15:16:45 claudio Exp $
# $OpenBSD: aliases,v 1.33 2010/04/22 17:43:30 ratchov Exp $
# #
# Aliases in this file will NOT be expanded in the header from # Aliases in this file will NOT be expanded in the header from
# Mail, but WILL be visible over networks or from /usr/libexec/mail.local. # Mail, but WILL be visible over networks or from /usr/libexec/mail.local.
@ -50,6 +50,7 @@ _rtadvd: /dev/null
_rusersd: /dev/null _rusersd: /dev/null
_rwalld: /dev/null _rwalld: /dev/null
_smtpd: /dev/null _smtpd: /dev/null
_sndio: /dev/null
_snmpd: /dev/null _snmpd: /dev/null
_spamd: /dev/null _spamd: /dev/null
_syslogd: /dev/null _syslogd: /dev/null


+ 1
- 0
src/etc/master.passwd View File

@ -45,4 +45,5 @@ _smtpd:*:95:95::0:0:SMTP Daemon:/var/empty:/sbin/nologin
_rwalld:*:96:96::0:0:rpc.rwalld:/var/empty:/sbin/nologin _rwalld:*:96:96::0:0:rpc.rwalld:/var/empty:/sbin/nologin
_nsd:*:97:97::0:0:NSD Daemon:/var/empty:/sbin/nologin _nsd:*:97:97::0:0:NSD Daemon:/var/empty:/sbin/nologin
_ldpd:*:98:98::0:0:LDP Daemon:/var/empty:/sbin/nologin _ldpd:*:98:98::0:0:LDP Daemon:/var/empty:/sbin/nologin
_sndio:*:99:99::0:0:sndio privsep:/var/empty:/sbin/nologin
nobody:*:32767:32767::0:0:Unprivileged user for NFS:/nonexistent:/sbin/nologin nobody:*:32767:32767::0:0:Unprivileged user for NFS:/nonexistent:/sbin/nologin

Loading…
Cancel
Save