Browse Source

go back to running these as root from inetd. however once rpc.{rusersd,rstatd}

starts, do a chroot to /var/empty and change to user nobody.
hi mom, i'm in jail!
OPENBSD_3_2
deraadt 22 years ago
parent
commit
d230ad86d5
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/etc/inetd.conf

+ 3
- 3
src/etc/inetd.conf View File

@ -1,4 +1,4 @@
# $OpenBSD: inetd.conf,v 1.47 2002/06/05 21:48:14 deraadt Exp $
# $OpenBSD: inetd.conf,v 1.48 2002/06/28 22:40:31 deraadt Exp $
# #
# Internet server configuration database # Internet server configuration database
# #
@ -51,8 +51,8 @@ time stream tcp6 nowait root internal
# Encrypted X connections # Encrypted X connections
#kx stream tcp nowait root /usr/X11R6/bin/kxd kxd #kx stream tcp nowait root /usr/X11R6/bin/kxd kxd
# RPC based services # RPC based services
rstatd/1-3 dgram rpc/udp wait nobody /usr/libexec/rpc.rstatd rpc.rstatd
rusersd/1-3 dgram rpc/udp wait nobody /usr/libexec/rpc.rusersd rpc.rusersd
rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd
rusersd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rusersd rpc.rusersd
#walld/1 dgram rpc/udp wait root /usr/libexec/rpc.rwalld rpc.rwalld #walld/1 dgram rpc/udp wait root /usr/libexec/rpc.rwalld rpc.rwalld
#sprayd/1 dgram rpc/udp wait root /usr/libexec/rpc.sprayd rpc.sprayd #sprayd/1 dgram rpc/udp wait root /usr/libexec/rpc.sprayd rpc.sprayd
#rquotad/1 dgram rpc/udp wait root /usr/libexec/rpc.rquotad rpc.rquotad #rquotad/1 dgram rpc/udp wait root /usr/libexec/rpc.rquotad rpc.rquotad

Loading…
Cancel
Save