Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2005 14:02:32 -0400
From:      Wolfgang Lausenbart <wmiuser@m-net.arbornet.org>
To:        freebsd-questions@freebsd.org
Subject:   little small patch for /etc/periodic/400.passwdless
Message-ID:  <20050629140232.A29721@m-net.arbornet.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050629140232.A29721>