=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/security,v retrieving revision 1.57 retrieving revision 1.58 diff -c -r1.57 -r1.58 *** src/etc/Attic/security 2003/06/12 19:11:57 1.57 --- src/etc/Attic/security 2003/06/13 15:55:57 1.58 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: security,v 1.57 2003/06/12 19:11:57 millert Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: security,v 1.58 2003/06/13 15:55:57 millert Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # *************** *** 31,37 **** next; if ($1 == "") 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) > 31) printf("Login %s has more than 31 characters.\n", $1); --- 31,37 ---- next; if ($1 == "") 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) > 31) printf("Login %s has more than 31 characters.\n", $1);