=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/security,v retrieving revision 1.20 retrieving revision 1.21 diff -c -r1.20 -r1.21 *** src/etc/Attic/security 1997/06/23 02:54:31 1.20 --- src/etc/Attic/security 1997/09/02 06:46:42 1.21 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: security,v 1.20 1997/06/23 02:54:31 millert Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: security,v 1.21 1997/09/02 06:46:42 deraadt Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # *************** *** 141,151 **** { print "Root umask is group writeable" } $2 % 10 < 2 \ { print "Root umask is other writeable" }' >> $OUTPUT /bin/csh -f -s << end-of-csh > /dev/null 2>&1 - unset path source $i /bin/ls -ldgT \$path > $TMP1 end-of-csh awk '{ if ($10 ~ /^\.$/) { print "The root path includes ."; --- 141,153 ---- { print "Root umask is group writeable" } $2 % 10 < 2 \ { print "Root umask is other writeable" }' >> $OUTPUT + SAVE_PATH=$PATH + unset PATH /bin/csh -f -s << end-of-csh > /dev/null 2>&1 source $i /bin/ls -ldgT \$path > $TMP1 end-of-csh + PATH=$SAVE_PATH awk '{ if ($10 ~ /^\.$/) { print "The root path includes ."; *************** *** 183,194 **** { print "Root umask is group writeable" } \ $2 % 10 < 2 \ { print "Root umask is other writeable" }' >> $OUTPUT /bin/sh << end-of-sh > /dev/null 2>&1 - PATH= . $i list=\`echo \$PATH | /usr/bin/sed -e 's/:/ /g'\` /bin/ls -ldgT \$list > $TMP1 end-of-sh awk '{ if ($10 ~ /^\.$/) { print "The root path includes ."; --- 185,198 ---- { print "Root umask is group writeable" } \ $2 % 10 < 2 \ { print "Root umask is other writeable" }' >> $OUTPUT + SAVE_PATH=$PATH + unset PATH /bin/sh << end-of-sh > /dev/null 2>&1 . $i list=\`echo \$PATH | /usr/bin/sed -e 's/:/ /g'\` /bin/ls -ldgT \$list > $TMP1 end-of-sh + PATH=$SAVE_PATH awk '{ if ($10 ~ /^\.$/) { print "The root path includes .";