aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-03-08 18:41:21 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-03-08 18:41:21 +0000
commit168e95580e7be9f0a6df85d93cc1fdbf748b1fb8 (patch)
tree541f6af9e3962edce738910682cad2140fffa368
parent2d4a6ac12bc0bda8d3f219f54bf3c685f62c29a6 (diff)
downloadmsec-168e95580e7be9f0a6df85d93cc1fdbf748b1fb8.tar
msec-168e95580e7be9f0a6df85d93cc1fdbf748b1fb8.tar.gz
msec-168e95580e7be9f0a6df85d93cc1fdbf748b1fb8.tar.bz2
msec-168e95580e7be9f0a6df85d93cc1fdbf748b1fb8.tar.xz
msec-168e95580e7be9f0a6df85d93cc1fdbf748b1fb8.zip
added yes and no to be used as argument to the functions.
-rw-r--r--share/libmsec.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/libmsec.py b/share/libmsec.py
index 2a13c33..66ca4af 100644
--- a/share/libmsec.py
+++ b/share/libmsec.py
@@ -80,6 +80,9 @@ NONE=0
ALL=1
LOCAL=2
+yes=1
+no=0
+
# config files => actions
ConfigFile.add_config_assoc(INITTAB, '/sbin/telinit q')
@@ -592,6 +595,8 @@ def password_aging(max, inactive=-1):
def set_security_conf(var, value):
'''1 Set the variable \\fIvar\\fP to the value \\fIvalue\\fP in /var/lib/msec/security.conf.
+The best way to override the default setting is to use create /etc/security/msec/security.conf
+with the value you want.
The following variables are currentrly recognized by msec: