tags 531660 patch
thanks

Attached is a patch that groks the pam_selinux line from squeeze's login
(1:4.1.4.2+svn3283-2)

--- /usr/share/selinux-basics/tests/21_pam.py~	2011-12-22 10:00:26.000000000 +0100
+++ /usr/share/selinux-basics/tests/21_pam.py	2011-12-22 10:03:22.000000000 +0100
@@ -13,7 +13,7 @@
 	@staticmethod
 	def test():
 		import os, re
-		r = re.compile(r'^\s*session\s*required\s*pam_selinux.so')
+		r = re.compile(r'^\s*session\s+(required|\[success=ok\s+ignore=ignore\s+module_unknown=ignore\s+default=bad\])\s+pam_selinux.so')
 		result = []
 
 		if os.access("/etc/pam.d/ssh", os.F_OK):
-- 
Robert Bihlmeyer    ASSIST    Arrow ECS Internet Security AG
<r.bihlme...@arrowecs.at>   A-1100 Wien, Wienerbergstraße 11
Tel: +43 1 370 94 40                Fax: +43 1 370 94 40-333

Reply via email to