diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-03-26 04:54:29 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-03-26 04:54:29 +0000 |
commit | c207a35f53e06d88057ed6b9ec3fc076f6ed6842 (patch) | |
tree | 765c32e0df9d06e584c80dda4eba4d83bd3ef5e6 /share/libmsec.py | |
parent | eef2ab7d6ae32bc13713479073cbcef15a0d7a99 (diff) | |
download | msec-c207a35f53e06d88057ed6b9ec3fc076f6ed6842.tar msec-c207a35f53e06d88057ed6b9ec3fc076f6ed6842.tar.gz msec-c207a35f53e06d88057ed6b9ec3fc076f6ed6842.tar.bz2 msec-c207a35f53e06d88057ed6b9ec3fc076f6ed6842.tar.xz msec-c207a35f53e06d88057ed6b9ec3fc076f6ed6842.zip |
removed yes/no declarations as they are used only from mseclib.py.
Maximum password aging can be -1.
Diffstat (limited to 'share/libmsec.py')
-rw-r--r-- | share/libmsec.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/share/libmsec.py b/share/libmsec.py index 66ca4af..3004963 100644 --- a/share/libmsec.py +++ b/share/libmsec.py @@ -80,9 +80,6 @@ NONE=0 ALL=1 LOCAL=2 -yes=1 -no=0 - # config files => actions ConfigFile.add_config_assoc(INITTAB, '/sbin/telinit q') @@ -543,7 +540,7 @@ def enable_at_crontab(arg): cronallow.replace_line_matching('root', 'root', 1) atallow.replace_line_matching('root', 'root', 1) -maximum_regex = re.compile('^Maximum:\s*([0-9]+)', re.MULTILINE) +maximum_regex = re.compile('^Maximum:\s*([0-9]+|-1)', re.MULTILINE) inactive_regex = re.compile('^Inactive:\s*(-?[0-9]+)', re.MULTILINE) # TODO FL Sat Dec 29 20:18:20 2001 |