Date: Tue, 11 May 1999 15:16:23 -0400 (EDT) From: Bob K <melange@yip.org> To: freebsd-questions@freebsd.org Subject: Re: dots in usernames? (Resolved) Message-ID: <Pine.BSF.4.05.9905111219190.59633-100000@localhost> In-Reply-To: <Pine.BSF.4.05.9905111138540.59633-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
> > sub new_users_name_valid {
> > local($name) = @_;
> >
> > 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";
> > return 0;
> >
> > will it break anything? I know I can add an alias; I'm just hoping to
> > simplify things for the user in question. I suppose after doing that, a
> > make world & rebuild of any ports using utmp would be in order?
>
> Just realized that a make world would not be in order, since I wouldn't
> have changed any actual variables. Also, please cc: me in any replies, as
> I'm not on the list. Thanks!
Ok, I decided to just try it; I tossed a . after the 1st and 2nd hyphens
in the if ($name... line. It's tested ok with the following ports:
imap-uw-4.4 (POP3 & IMAP)
tcsh-6.08.00
pine-4.05
apache-1.3.4
pidentd-2.8.2
ircii-4.4
ytalk-3.1
As well as sendmail 8.9.2 and the stock FTP daemon that comes with
3.1-19990323-STABLE...
melange@yip.org - Mustard gas: The kids love it!
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905111219190.59633-100000>
