summaryrefslogtreecommitdiff
path: root/etc/rc.conf
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2006-05-28 23:29:33 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2006-05-28 23:29:33 +0000
commita2416f06ac46dabf19752b024b229348c8d22815 (patch)
tree34c623f891ee5935a85839439d7688760340e50d /etc/rc.conf
parente62e7f8d148fab5e5c120113bcf1d33e110f63e7 (diff)
Add support for NFS mounts to be from non-reserved ports:
- new sysctl vfs.nfs.privport to require NFS mount requests to be on reserved ports when set to 1 (the default). - mountd now automatically sets the sysctl depending on the -n flag. - add mountd_flags to rc.conf to enable the -n flag at boot. deraadt@ ok
Diffstat (limited to 'etc/rc.conf')
-rw-r--r--etc/rc.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.conf b/etc/rc.conf
index e919bf13950..7b71c6a1449 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: rc.conf,v 1.111 2006/03/27 16:53:10 reyk Exp $
+# $OpenBSD: rc.conf,v 1.112 2006/05/28 23:29:32 avsm Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q"
@@ -82,6 +82,7 @@ savecore_flags= # "-z" to compress
ypserv_flags= # E.g. -1 for YP v1, -d for DNS etc
yppasswdd_flags=NO # "-d /etc/yp" if passwd files are in /etc/yp
nfsd_flags="-tun 4" # Crank the 4 for a busy NFS fileserver
+mountd_flags= # "-n" to permit non-reserved port NFS mounts
amd_dir=/tmp_mnt # AMD's mount directory
amd_master=/etc/amd/master # AMD 'master' map
syslogd_flags= # add more flags, ie. "-u -a /chroot/dev/log"