Hello listreaders :-),

maybe this has already be done.
I posted it here, because I couldn't
figure out where to send such little
stuff...



--- 400.passwdless.backup       Wed Jun 29 19:21:24 2005
+++ 400.passwdless      Wed Jun 29 19:22:10 2005
@@ -45,4 +45,16 @@
     *) rc=0;;
 esac
 
+#exit "$rc"
+

+case "$daily_status_security_passwdless_enable" in
+#this needs to be defined first
+#case "$daily_status_security_pam_enable" in
+    [Yy][Ee][Ss])
+       echo ""
+       echo 'Checking for weak pam configuration:'
+       grep 'optional' /etc/pam.d/* | grep -v '#' | grep -v README;;
+       
+   *)  rc=0;;
+esac
+
 exit "$rc"


greetz and best regards 
wmiuser/u at netbeisser.de

E7AC 1E9B 87D8 5BD2 E2F2 6F4A 3177 ED68 8185 480C
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to