diff options
author | 2000-08-19 07:50:19 +0000 | |
---|---|---|
committer | 2000-08-19 07:50:19 +0000 | |
commit | 04efdb48a29715942c2052ac76218966ce8d7efb (patch) | |
tree | 4cedd4ccb1760aed2b2063eac790c80116c03e50 | |
parent | shorten (diff) | |
download | wireguard-openbsd-04efdb48a29715942c2052ac76218966ce8d7efb.tar.xz wireguard-openbsd-04efdb48a29715942c2052ac76218966ce8d7efb.zip |
valid characters mismatch, PR#1362; Marty Combs
-rw-r--r-- | usr.sbin/adduser/adduser.perl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/adduser/adduser.perl b/usr.sbin/adduser/adduser.perl index 128176efee3..ed46ab27e2d 100644 --- a/usr.sbin/adduser/adduser.perl +++ b/usr.sbin/adduser/adduser.perl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# $OpenBSD: adduser.perl,v 1.22 2000/07/09 16:11:34 aaron Exp $ +# $OpenBSD: adduser.perl,v 1.23 2000/08/19 07:50:19 jakob Exp $ # # Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin. # All rights reserved. @@ -353,7 +353,7 @@ sub new_users_name { local($name); while(1) { - $name = &confirm_list("Enter username", 1, "a-z0-9_", ""); + $name = &confirm_list("Enter username", 1, "a-z0-9_-", ""); if (length($name) > 8) { warn "Username is longer than 8 chars\a\n"; next; @@ -1453,7 +1453,7 @@ sub config_write { print C <<EOF; # -# $OpenBSD: adduser.perl,v 1.22 2000/07/09 16:11:34 aaron Exp $ +# $OpenBSD: adduser.perl,v 1.23 2000/08/19 07:50:19 jakob Exp $ # $config - automatic generated by adduser(8) # # Note: adduser read *and* write this file. |