diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2009-02-10 12:46:04 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2009-02-10 12:46:04 +0000 |
commit | 65aa59dac9ab1ea0133e71b2b45cf6d29c2ec49d (patch) | |
tree | 2e865162033b481611b9ae5dd92503ffdb708a5f /src | |
parent | 027b35c0f93a13ba38531b3b074fcfa4819729ef (diff) | |
download | msec-65aa59dac9ab1ea0133e71b2b45cf6d29c2ec49d.tar msec-65aa59dac9ab1ea0133e71b2b45cf6d29c2ec49d.tar.gz msec-65aa59dac9ab1ea0133e71b2b45cf6d29c2ec49d.tar.bz2 msec-65aa59dac9ab1ea0133e71b2b45cf6d29c2ec49d.tar.xz msec-65aa59dac9ab1ea0133e71b2b45cf6d29c2ec49d.zip |
Correctly handle wheel group authentication (#19091).
Diffstat (limited to 'src')
-rwxr-xr-x | src/msec/libmsec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msec/libmsec.py b/src/msec/libmsec.py index b32d5b4..ae04f74 100755 --- a/src/msec/libmsec.py +++ b/src/msec/libmsec.py @@ -1162,7 +1162,7 @@ class MSEC: if su.exists(): (su.replace_line_matching('^[#\s]*auth\s+required\s+(?:/lib/security/)?pam_wheel.so\s+use_uid\s*$', 'auth required pam_wheel.so use_uid') or \ - su.insert_after('^auth\s+required', 'auth required pam_wheel.so use_uid')) + su.insert_before('^auth\s+include', 'auth required pam_wheel.so use_uid')) else: if val: self.log.info(_('Allowing su for all')) |