From: Steve Youngs Date: Sun, 24 May 2015 13:14:57 +0000 (+1000) Subject: Add a couple of dirs to prune_prefixes for bastard settings X-Git-Url: http://cgit.sxemacs.org/?a=commitdiff_plain;h=48083494b27987518019cf33987c5f8e8317436c;p=pkgusr Add a couple of dirs to prune_prefixes for bastard settings 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 --- diff --git a/usr/bin/forall_direntries_from b/usr/bin/forall_direntries_from index d68cd03..32a187e 100755 --- a/usr/bin/forall_direntries_from +++ b/usr/bin/forall_direntries_from @@ -43,6 +43,7 @@ fs_to_scan=(/) # /etc/audisp/plugins.d \ # /etc/cups/ssl \ # /etc/firewall \ +# /etc/pam.d \ # /etc/polkit-1/rules.d \ # /etc/skel \ # /etc/ssl/private \ diff --git a/usr/bin/list_suspicious_files b/usr/bin/list_suspicious_files index 67f4c77..514f216 100755 --- a/usr/bin/list_suspicious_files +++ b/usr/bin/list_suspicious_files @@ -45,6 +45,7 @@ prune_prefixes=(/root /{,*/{,*/}}lost+found) #NO TRAILING SLASHES!!! # /etc/audisp/plugins.d \ # /etc/cups/ssl \ # /etc/firewall \ +# /etc/pam.d \ # /etc/polkit-1/rules.d \ # /etc/skel \ # /etc/ssl/private \