diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2002-03-12 21:47:31 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2002-03-12 21:47:31 +0000 |
commit | cd2cc2c1a83a428c441e88422a212e09f55154f9 (patch) | |
tree | eb1f3c65456e9b3b34dc1df5bd22089d9403c967 /etc | |
parent | 2e1fc052bcf5cd44f0ca4cd9e1b95930e294bb36 (diff) | |
download | src-cd2cc2c1a83a428c441e88422a212e09f55154f9.tar.gz src-cd2cc2c1a83a428c441e88422a212e09f55154f9.zip |
Notes
Diffstat (limited to 'etc')
-rw-r--r-- | etc/defaults/rc.conf | 1 | ||||
-rw-r--r-- | etc/rc | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 9c809ea1ab15..e8847f9494ec 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -365,6 +365,7 @@ ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aou # a.out shared library search paths kern_securelevel_enable="NO" # kernel security level (see init(8)), kern_securelevel="-1" # range: -1..3 ; `-1' is the most insecure +lomac_enable="NO" # start lomac(4) security module at boot update_motd="YES" # update version info in /etc/motd (or NO) start_vinum="NO" # set to YES to start vinum unaligned_print="YES" # print unaligned access warnings on the alpha (or NO). @@ -521,6 +521,13 @@ rm -f /tmp/.X*-lock /tmp/.X11-unix/* # Snapshot any kernel -c changes back to disk here <someday>. # This has changed with ELF and /kernel.config. +# Load LOMAC(4) security if wanted. +case ${lomac_enable} in +[Yy][Ee][Ss]) + kldload lomac >/dev/null 2>&1 + ;; +esac + echo -n 'Additional daemons:' # Start system logging and name service. Named needs to start before syslogd |