Skip to contentSkip to conversation

su patch

refpolicy Brandon Whalen 2 participants 2 messages May 22, 2009 – Jun 18, 2009

lore
Share & tools
lore
#0 lore raw

Allow the derived su domains to run the pam cracklib module in the case that the root password has expired and the user must reset it after an su.

modules/admin/su.if (working copy) renamed from modules/admin/su.if (revision 2987) +6 -0
Index: policy/modules/admin/su.if
===================================================================
@@ -78,6 +78,9 @@
     auth_dontaudit_read_shadow($1_su_t)
     auth_use_nsswitch($1_su_t)
     auth_rw_faillog($1_su_t)
+    optional_policy(`
+        usermanage_read_crack_db($1_su_t)
+    ')
 
     domain_use_interactive_fds($1_su_t)
 
@@ -204,6 +207,9 @@
     auth_dontaudit_read_shadow($1_su_t)
     auth_use_nsswitch($1_su_t)
     auth_rw_faillog($1_su_t)
+    optional_policy(`
+        usermanage_read_crack_db($1_su_t)
+    ')
 
     corecmd_search_bin($1_su_t)
 
#1 lore raw
Quoted 3 lines · Brandon Whalen

Allow the derived su domains to run the pam cracklib module in the case that
the root password has expired and the user must reset it after an su.

Merged, with a little reorganization.

Quoted 31 lines

Index: policy/modules/admin/su.if
===================================================================

modules/admin/su.if (working copy) renamed from modules/admin/su.if (revision 2987) +6 -0
@@ -78,6 +78,9 @@
     auth_dontaudit_read_shadow($1_su_t)
     auth_use_nsswitch($1_su_t)
     auth_rw_faillog($1_su_t)
+    optional_policy(`
+        usermanage_read_crack_db($1_su_t)
+    ')
 
     domain_use_interactive_fds($1_su_t)
 
@@ -204,6 +207,9 @@
     auth_dontaudit_read_shadow($1_su_t)
     auth_use_nsswitch($1_su_t)
     auth_rw_faillog($1_su_t)
+    optional_policy(`
+        usermanage_read_crack_db($1_su_t)
+    ')
 
     corecmd_search_bin($1_su_t)
 

_______________________________________________
refpolicy mailing list
refpolicy at oss.tresys.com
http://oss.tresys.com/mailman/listinfo/refpolicy

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150