Add a couple of dirs to prune_prefixes for bastard settings
authorSteve Youngs <steve@steveyoungs.com>
Sun, 24 May 2015 13:14:57 +0000 (23:14 +1000)
committerSteve Youngs <steve@steveyoungs.com>
Sun, 24 May 2015 13:14:57 +0000 (23:14 +1000)
IMO /etc/pam.d should be 0700 root:root, with the files therein being 0600
root:root.  So that is how I have it.  Pruning it out in the pkgusr
scripts.

* usr/bin/forall_direntries_from (prune_prefixes): Add /etc/pam.d
to the bastard settings.

* usr/bin/list_suspicious_files (prune_prefixes): Ditto.

Signed-off-by: Steve Youngs <steve@steveyoungs.com>
usr/bin/forall_direntries_from
usr/bin/list_suspicious_files

index d68cd03..32a187e 100755 (executable)
@@ -43,6 +43,7 @@ fs_to_scan=(/)
 #      /etc/audisp/plugins.d \
 #       /etc/cups/ssl \
 #       /etc/firewall \
 #      /etc/audisp/plugins.d \
 #       /etc/cups/ssl \
 #       /etc/firewall \
+#       /etc/pam.d \
 #      /etc/polkit-1/rules.d \
 #       /etc/skel \
 #       /etc/ssl/private \
 #      /etc/polkit-1/rules.d \
 #       /etc/skel \
 #       /etc/ssl/private \
index 67f4c77..514f216 100755 (executable)
@@ -45,6 +45,7 @@ prune_prefixes=(/root /{,*/{,*/}}lost+found) #NO TRAILING SLASHES!!!
 #      /etc/audisp/plugins.d \
 #       /etc/cups/ssl \
 #       /etc/firewall \
 #      /etc/audisp/plugins.d \
 #       /etc/cups/ssl \
 #       /etc/firewall \
+#       /etc/pam.d \
 #      /etc/polkit-1/rules.d \
 #       /etc/skel \
 #       /etc/ssl/private \
 #      /etc/polkit-1/rules.d \
 #       /etc/skel \
 #       /etc/ssl/private \