diff options
author | dougb <dougb@FreeBSD.org> | 2005-12-20 20:36:48 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2005-12-20 20:36:48 +0000 |
commit | 5a09b5d83f2e95dba9b891c36c6b45f41ebb4c60 (patch) | |
tree | 46ddcb88c60185dea0ff357af454b4171a44c48e /etc/defaults | |
parent | 9f22e2f35e36371aa72e2704a4470469c0e9cfff (diff) | |
download | FreeBSD-src-5a09b5d83f2e95dba9b891c36c6b45f41ebb4c60.zip FreeBSD-src-5a09b5d83f2e95dba9b891c36c6b45f41ebb4c60.tar.gz |
Brooks pointed out a potential problem with disabling the X cleaning
by default, so add a new knob that is on by default, and check that
knob in start_precmd so that it can run even if cleaning /tmp is
not enabled. This has the advantage of not violating POLA, while
still allowing the user to disable this behavior if they wish (for
example on a server that will never run X).
Diffstat (limited to 'etc/defaults')
-rw-r--r-- | etc/defaults/rc.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 5239f29f..df0143d 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -492,6 +492,7 @@ svr4_enable="NO" # SysVR4 emulation loaded at startup (or NO). osf1_enable="NO" # Alpha OSF/1 emulation loaded at startup (or NO). clear_tmp_enable="NO" # Clear /tmp at startup. +clear_tmp_X="YES" # Clear and recreate X11-related directories in /tmp ldconfig_insecure="NO" # Set to YES to disable ldconfig security checks ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/compat/pkg" # shared library search paths |