aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2010-02-08 14:08:50 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2010-02-08 14:08:50 +0000
commit26d88c67950341dab25b5483a3edd1a27f4d1067 (patch)
tree4d5733e0f46b4829729f778f624e8dd7cbcb86db /src
parent44cc4a3817119dd66825966c2366338e06557b06 (diff)
downloadmsec-26d88c67950341dab25b5483a3edd1a27f4d1067.tar
msec-26d88c67950341dab25b5483a3edd1a27f4d1067.tar.gz
msec-26d88c67950341dab25b5483a3edd1a27f4d1067.tar.bz2
msec-26d88c67950341dab25b5483a3edd1a27f4d1067.tar.xz
msec-26d88c67950341dab25b5483a3edd1a27f4d1067.zip
Improved the message when the wheel group is empty (#57463)
Diffstat (limited to 'src')
-rw-r--r--src/msec/plugins/pam.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msec/plugins/pam.py b/src/msec/plugins/pam.py
index 6961a30..540b561 100644
--- a/src/msec/plugins/pam.py
+++ b/src/msec/plugins/pam.py
@@ -173,7 +173,7 @@ class pam:
return
members = ent[3]
if members == [] or members == ['root']:
- self.log.error(_('wheel group is empty'))
+ self.log.error(_('Security configuration is defined to allow only members of the wheel group to su to root, but this group is empty. Please add the allowed users into the wheel group.'))
return
if su.exists():
(su.replace_line_matching('^[#\s]*auth\s+required\s+(?:/lib/security/)?pam_wheel.so\s+use_uid\s*$',