diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-02-20 21:50:41 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-02-20 21:50:41 +0000 |
commit | 2db38c8e6bfe87d5cd8cfad916c5abea18a37c86 (patch) | |
tree | dceaada2081fa9cfc5c62ea7537df94f8b671a6e /share | |
parent | d5ec6785ed351e8083cb394011bbc631cd46a438 (diff) | |
download | msec-2db38c8e6bfe87d5cd8cfad916c5abea18a37c86.tar msec-2db38c8e6bfe87d5cd8cfad916c5abea18a37c86.tar.gz msec-2db38c8e6bfe87d5cd8cfad916c5abea18a37c86.tar.bz2 msec-2db38c8e6bfe87d5cd8cfad916c5abea18a37c86.tar.xz msec-2db38c8e6bfe87d5cd8cfad916c5abea18a37c86.zip |
implement no password in level 0
X listens to tcp connections in level 3
Diffstat (limited to 'share')
-rwxr-xr-x | share/msec.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/share/msec.py b/share/msec.py index 222ea69..49f201a 100755 --- a/share/msec.py +++ b/share/msec.py @@ -174,12 +174,17 @@ else: # differences between level 0 and others if level != 0: enable_security_check(1) + enable_password(1) if level < 3: allow_x_connections(LOCAL, 1) else: - allow_x_connections(NONE, 0) + if level == 3: + allow_x_connections(NONE, 1) + else: + allow_x_connections(NONE, 0) else: enable_security_check(0) + enable_password(0) allow_x_connections(ALL, 1) # msec cron |