little small patch for /etc/periodic/400.passwdless

Ted Mittelstaedt tedm at toybox.placo.com
Thu Jun 30 09:35:37 GMT 2005


send-pr this kind of stuff.

Ted

>-----Original Message-----
>From: owner-freebsd-questions at freebsd.org
>[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Wolfgang
>Lausenbart
>Sent: Wednesday, June 29, 2005 11:03 AM
>To: freebsd-questions at freebsd.org
>Subject: little small patch for /etc/periodic/400.passwdless
>
>
>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
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to 
>"freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list