little small patch for /etc/periodic/400.passwdless
Wolfgang Lausenbart
wmiuser at m-net.arbornet.org
Wed Jun 29 17:57:32 GMT 2005
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
More information about the freebsd-questions
mailing list