summaryrefslogtreecommitdiff
path: root/usr.sbin/adduser
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2000-08-19 07:50:20 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2000-08-19 07:50:20 +0000
commit0acbf7431e011faee2384cab2d22ceeebe0df377 (patch)
treee0fc90003ed88828c4374330e6e82170e4228cb6 /usr.sbin/adduser
parent9695941b4cb29dc1d3f8632423ccecd5d0a0830f (diff)
valid characters mismatch, PR#1362; Marty Combs
Diffstat (limited to 'usr.sbin/adduser')
-rw-r--r--usr.sbin/adduser/adduser.perl6
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.