=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/security,v retrieving revision 1.33 retrieving revision 1.34 diff -c -r1.33 -r1.34 *** src/etc/Attic/security 1999/11/22 15:48:07 1.33 --- src/etc/Attic/security 2000/02/29 20:36:25 1.34 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: security,v 1.33 1999/11/22 15:48:07 millert Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: security,v 1.34 2000/02/29 20:36:25 aaron Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # *************** *** 48,54 **** if (system("test -s /etc/skeykeys && grep -q \"^"$1" \" /etc/skeykeys") == 0) printf("Login %s is off but still has a valid shell and an entry in /etc/skeykeys.\n", $1); if (system("test -d "$9" -a ! -r "$9"") == 0) ! printf("Login %s if off but still has valid shell and home directory is unreadable\n\t by root; cannot check for existance of alternate access files.\n", $1); else if (system("for file in .ssh .rhosts .shosts .klogin; do if test -e "$9"/$file; then if ((ls -ld "$9"/$file | cut -b 2-10 | grep -q r) && (test ! -O "$9"/$file)) ; then exit 1; fi; fi; done")) printf("Login %s is off but still has a valid shell and alternate access files in\n\t home directory are still readable.\n",$1); } --- 48,54 ---- if (system("test -s /etc/skeykeys && grep -q \"^"$1" \" /etc/skeykeys") == 0) printf("Login %s is off but still has a valid shell and an entry in /etc/skeykeys.\n", $1); if (system("test -d "$9" -a ! -r "$9"") == 0) ! printf("Login %s if off but still has valid shell and home directory is unreadable\n\t by root; cannot check for existence of alternate access files.\n", $1); else if (system("for file in .ssh .rhosts .shosts .klogin; do if test -e "$9"/$file; then if ((ls -ld "$9"/$file | cut -b 2-10 | grep -q r) && (test ! -O "$9"/$file)) ; then exit 1; fi; fi; done")) printf("Login %s is off but still has a valid shell and alternate access files in\n\t home directory are still readable.\n",$1); }