From d230ad86d554823b6c213f2411f14265f4469f33 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 28 Jun 2002 22:40:31 +0000 Subject: [PATCH] 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! --- src/etc/inetd.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/etc/inetd.conf b/src/etc/inetd.conf index 0c29c4e9..2c8793c1 100644 --- a/src/etc/inetd.conf +++ b/src/etc/inetd.conf @@ -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 # @@ -51,8 +51,8 @@ time stream tcp6 nowait root internal # Encrypted X connections #kx stream tcp nowait root /usr/X11R6/bin/kxd kxd # 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 #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