=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/security,v retrieving revision 1.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- src/etc/Attic/security 2005/01/06 00:00:38 1.69 +++ src/etc/Attic/security 2005/02/07 06:08:10 1.70 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: security,v 1.69 2005/01/06 00:00:38 jmc Exp $ +# $OpenBSD: security,v 1.70 2005/02/07 06:08:10 david Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # @@ -38,7 +38,7 @@ if ($2 == "") printf("Login %s has no password.\n", $1); if ($2 != "" && length($2) != 13 && ($10 ~ /.*sh$/ || $10 == "") && - ($2 !~ /^\$[0-9a-f]+\$/) && ($2 != "skey")) { + ($2 !~ /^\$[0-9a-f]+\$/) && ($2 != "skey")) { if (system("test -s /etc/skey/"$1"") == 0) printf("Login %s is off but still has a valid shell and an entry in /etc/skey.\n", $1); if (system("test -d "$9" -a ! -r "$9"") == 0) @@ -70,9 +70,9 @@ uniq -d -f 1 | awk '{ print $2 }' > $TMP2 if [ -s $TMP2 ] ; then echo "\n${MP} has duplicate user ID's." - while read uid; do - grep -w $uid $TMP1 - done < $TMP2 | column + while read uid; do + grep -w $uid $TMP1 + done < $TMP2 | column fi # Backup the master password file; a special case, the normal backup @@ -165,9 +165,9 @@ } } $1 ~ /^d....w/ \ - { print "Root path directory " $10 " is group writable." } \ + { print "Root path directory " $10 " is group writable." } \ $1 ~ /^d.......w/ \ - { print "Root path directory " $10 " is other writable." }' \ + { print "Root path directory " $10 " is other writable." }' \ < $TMP1 >> $OUTPUT fi done @@ -218,9 +218,9 @@ } } $1 ~ /^d....w/ \ - { print "Root path directory " $10 " is group writable." } \ + { print "Root path directory " $10 " is group writable." } \ $1 ~ /^d.......w/ \ - { print "Root path directory " $10 " is other writable." }' \ + { print "Root path directory " $10 " is other writable." }' \ < $TMP1 >> $OUTPUT fi