diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-01-29 02:19:38 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-01-29 02:19:38 +0000 |
commit | d6c3aa1519defc74470199349d08ab8b230f83a8 (patch) | |
tree | fd73e6295533e82140cd7b056d7c202ee4ecb9c9 /share | |
parent | caf393f0e63f1386816452e60ad029b02e1ecde4 (diff) | |
download | msec-d6c3aa1519defc74470199349d08ab8b230f83a8.tar msec-d6c3aa1519defc74470199349d08ab8b230f83a8.tar.gz msec-d6c3aa1519defc74470199349d08ab8b230f83a8.tar.bz2 msec-d6c3aa1519defc74470199349d08ab8b230f83a8.tar.xz msec-d6c3aa1519defc74470199349d08ab8b230f83a8.zip |
new option: server_level to set a different server_level from the
secure_level. For example the snf will be in secure_level 4 and
server_level snf.
Diffstat (limited to 'share')
-rwxr-xr-x | share/msec.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/share/msec.py b/share/msec.py index 30cade9..53cae71 100755 --- a/share/msec.py +++ b/share/msec.py @@ -91,6 +91,13 @@ set_secure_level(level) server=(level in range(3, 6)) +# process options +server_level = Config.get_config('server_level') +if server_level: + set_server_level(server_level) + +create_server_link() + # for all levels: min length = 2 * (level - 1) and for level 4,5 makes mandatory # to have at least one upper case character and one digit. if level > 1: |