Date: Thu, 4 Oct 2001 15:50:01 -0700 (PDT) From: Giorgos Keramidas <charon@labs.gr> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/31049: /usr/sbin/adduser does not allow '.' in login name. [PATCH] Message-ID: <200110042250.f94Mo1K85204@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR bin/31049; it has been noted by GNATS.
From: Giorgos Keramidas <charon@labs.gr>
To: Jim Pirzyk <Jim.Pirzyk@disney.com>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/31049: /usr/sbin/adduser does not allow '.' in login name. [PATCH]
Date: Fri, 5 Oct 2001 01:45:49 +0300
Jim Pirzyk <Jim.Pirzyk@disney.com> wrote:
>
> - if ($name !~ /^[a-z0-9_][a-z0-9_\-]*$/ || $name eq "a-z0-9_-") {
> + if ($name !~ /^[a-z0-9_][a-z0-9_\-\.]*$/ || $name eq "a-z0-9_-.") {
> warn "Wrong username. " .
> "Please use only lowercase characters or digits\a\n";
Pleaase make that warning:
warn "Wrong username. " .
"Please use lowercase characters, digits or '_' " .
"as the starting character, and lowercase letters, " .
"digits, '_', '-' or '.' in the rest of the username\a\n";
-giorgos
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110042250.f94Mo1K85204>
