=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/security,v retrieving revision 1.43 retrieving revision 1.44 diff -c -r1.43 -r1.44 *** src/etc/Attic/security 2000/12/22 08:04:48 1.43 --- src/etc/Attic/security 2001/01/31 19:12:10 1.44 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: security,v 1.43 2000/12/22 08:04:48 todd Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: security,v 1.44 2001/01/31 19:12:10 deraadt Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # *************** *** 39,46 **** printf("Line %d has an empty login field:\n%s\n", NR, $0); else if ($1 !~ /^[A-Za-z0-9][A-Za-z0-9_-]*$/) printf("Login %s has non-alphanumeric characters.\n", $1); ! if (length($1) > 8) ! printf("Login %s has more than 8 characters.\n", $1); if ($2 == "") printf("Login %s has no password.\n", $1); if ($2 != "" && length($2) != 13 && ($10 ~ /.*sh$/ || $10 == "") && --- 39,46 ---- printf("Line %d has an empty login field:\n%s\n", NR, $0); else if ($1 !~ /^[A-Za-z0-9][A-Za-z0-9_-]*$/) printf("Login %s has non-alphanumeric characters.\n", $1); ! if (length($1) > 32) ! printf("Login %s has more than 32 characters.\n", $1); if ($2 == "") printf("Login %s has no password.\n", $1); if ($2 != "" && length($2) != 13 && ($10 ~ /.*sh$/ || $10 == "") &&