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

2005-06-30 Thread Ted Mittelstaedt

send-pr this kind of stuff.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Wolfgang
Lausenbart
Sent: Wednesday, June 29, 2005 11:03 AM
To: freebsd-questions@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2005-06-29 Thread Wolfgang Lausenbart
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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]