summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-08-02 23:27:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-08-02 23:27:34 +0000
commit9973d27e2b9f5e5fbf89dcce602dcf4a07224cce (patch)
treec41f4818e033896ddf394f8059b003083dea6337 /etc
parent89a7f2efe415a75eb8e9f88d3363ac9a91c21381 (diff)
no rpc by default
Diffstat (limited to 'etc')
-rw-r--r--etc/inetd.conf6
-rw-r--r--etc/rc.conf4
2 files changed, 5 insertions, 5 deletions
diff --git a/etc/inetd.conf b/etc/inetd.conf
index b189f3486bf..7f85b18faa7 100644
--- a/etc/inetd.conf
+++ b/etc/inetd.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: inetd.conf,v 1.49 2002/07/15 23:47:57 deraadt Exp $
+# $OpenBSD: inetd.conf,v 1.50 2002/08/02 23:27:33 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 root /usr/libexec/rpc.rstatd rpc.rstatd
-rusersd/1-3 dgram rpc/udp wait root /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
diff --git a/etc/rc.conf b/etc/rc.conf
index 80ab559e0eb..7300b9c2523 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: rc.conf,v 1.77 2002/07/11 10:59:26 deraadt Exp $
+# $OpenBSD: rc.conf,v 1.78 2002/08/02 23:27:33 deraadt Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q"
@@ -56,7 +56,7 @@ lockd=NO
gated=NO
amd=NO
pf=NO # Packet filter / NAT
-portmap=YES # almost always needed
+portmap=NO # Note: inetd(8) rpc services need portmap too
inetd=YES # almost always needed
check_quotas=YES # NO may be desirable in some YP environments
ntpd=YES # run ntpd if it exists