From 203decb15d6e52895fdfbfb45f66f88cd4022092 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Wed, 25 Feb 2009 19:34:09 +0000 Subject: Added option to automatically enforce msec permissions on startup. --- src/msec/config.py | 2 +- src/msec/libmsec.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/msec/config.py b/src/msec/config.py index c0042c2..0d9c292 100644 --- a/src/msec/config.py +++ b/src/msec/config.py @@ -109,7 +109,7 @@ SETTINGS = {'BASE_LEVEL': ("libmsec.base_level", 'SHELL_HISTORY_SIZE': ("libmsec.set_shell_history_size", ['*']), 'SHELL_TIMEOUT': ("libmsec.set_shell_timeout", ['*']), 'ENABLE_STARTUP_MSEC': ("libmsec.enable_startup_msec", ['yes', 'no']), - 'ENABLE_STARTUP_PERMS': ("libmsec.enable_startup_perms", ['yes', 'no']), + 'ENABLE_STARTUP_PERMS': ("libmsec.enable_startup_perms", ['yes', 'no', 'enforce']), } # text for disabled options OPTION_DISABLED=_("System default") diff --git a/src/msec/libmsec.py b/src/msec/libmsec.py index f67ffdb..04dbdc9 100755 --- a/src/msec/libmsec.py +++ b/src/msec/libmsec.py @@ -1649,7 +1649,7 @@ class MSEC: pass def enable_startup_perms(self, param): - """Enforce MSEC file directory permissions on system startup""" + """Enforce MSEC file directory permissions on system startup. If this parameter is set to 'enforce', system permissions will be enforced automatically, according to system security settings.""" pass -- cgit v1.2.1