summaryrefslogtreecommitdiffstats
path: root/etc/rc.conf
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>1998-06-22 06:34:12 +0000
committerjkoshy <jkoshy@FreeBSD.org>1998-06-22 06:34:12 +0000
commit3d7fcf97cdf25a8c437613fff6bbe17d3439ee6e (patch)
tree49ad5b65adea18d864791930f226be191fa26c1e /etc/rc.conf
parentc84e4b475904075d895db8d4dccbf79a1a55fc8a (diff)
downloadFreeBSD-src-3d7fcf97cdf25a8c437613fff6bbe17d3439ee6e.zip
FreeBSD-src-3d7fcf97cdf25a8c437613fff6bbe17d3439ee6e.tar.gz
Add rc.conf option to set kernel security level and modify "/etc/rc" to
use this. Requested by: max, andreas Note: This change just provides a convenient way to exercise existing functionality. Whether `kern.securelevel' is effective in increasing system security is another issue, and one that has been well thrashed out in the lists.
Diffstat (limited to 'etc/rc.conf')
-rw-r--r--etc/rc.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.conf b/etc/rc.conf
index 85ab197..72d0827 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -6,7 +6,7 @@
#
# All arguments must be in double or single quotes.
#
-# $Id: rc.conf,v 1.50 1998/05/06 17:36:15 andreas Exp $
+# $Id: rc.conf,v 1.51 1998/05/12 10:50:46 max Exp $
##############################################################
### Important initial Boot-time options #####################
@@ -154,6 +154,8 @@ linux_enable="NO" # Linux emulation loaded at startup (or NO).
rand_irqs="NO" # Stir the entropy pool (like "5 11" or NO).
clear_tmp_enable="NO" # Clear /tmp at startup.
ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib" # shared library search paths
+kern_securelevel_enable="NO" # kernel security level (see init(8)),
+kern_securelevel="-1" # range: -1..2 ; `-1' is the most insecure
##############################################################
### Allow local configuration override at the very end here ##
OpenPOWER on IntegriCloud