diff options
author | joshua stein <jcs@cvs.openbsd.org> | 2002-07-17 01:32:05 +0000 |
---|---|---|
committer | joshua stein <jcs@cvs.openbsd.org> | 2002-07-17 01:32:05 +0000 |
commit | 89d74c09d05c30015406dca369f1f2135f8ad9f6 (patch) | |
tree | f7e99a3e60e1500a8612ed3de5169e9de063056e | |
parent | 7c2bd8c4a76c9fb1398f3f048a0eab35e853720e (diff) |
don't complain about our new usernames that start with underscores
deraadt and millert ok
-rw-r--r-- | etc/security | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/security b/etc/security index 8b04895660b..e23b82cb818 100644 --- a/etc/security +++ b/etc/security @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: security,v 1.51 2002/05/22 03:57:24 millert Exp $ +# $OpenBSD: security,v 1.52 2002/07/17 01:32:04 jcs Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # @@ -31,7 +31,7 @@ awk -F: '{ 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_-]*$/) + 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); |