Date: Mon, 23 Oct 2000 17:04:12 -0400 (EDT) From: "Brandon D. Valentine" <bandix@looksharp.net> To: Salvo Bartolotta <bartequi@inwind.it> Cc: Chris Byrnes <chris@awww.jeah.net>, freebsd-questions@FreeBSD.ORG Subject: Re: Removing user with "-" in username Message-ID: <Pine.BSF.4.21.0010231703340.65525-100000@turtle.looksharp.net> In-Reply-To: <20001023.21161000@bartequi.ottodomain.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Oct 2000, Salvo Bartolotta wrote:
>Dear Brandon Valentine and Chris Byrnes,
>
>The following letter from Warner Losh is from my personal (local)
>archives, reposted for your convenience.
>
><blockquote>
>
>Index: rmuser.perl
>===================================================================
>RCS file: /home/imp/FreeBSD/CVS/src/usr.sbin/adduser/rmuser.perl,v
>retrieving revision 1.10
>diff -u -r1.10 rmuser.perl
>--- rmuser.perl 2000/03/14 14:27:34 1.10
>+++ rmuser.perl 2000/10/09 18:00:58
>@@ -107,8 +107,8 @@
> if ($#ARGV == 0) {
> # Username was given as a parameter
> $login_name = pop(@ARGV);
>- die "Sorry, login name must contain alphanumeric characters
>only.\n"
>- if ($login_name !~ /^[a-zA-Z0-9_]\w*$/);
>+ die "Sorry, login name must not contain colons (:).\n"
>+ if ($login_name =~ /:/);
> } else {
> if ($affirm) {
> print STDERR "${whoami}: Error: -y option given without
>username!\n";
>
>Nuff said?
>
>Warner
>
></blockquote>
Thank you, now if someone would commit that and then merge it back all
would be well.
--
Brandon D. Valentine <bandix@looksharp.net>
"Few things are harder to put up with than the annoyance of a
good example." -- Mark Twain, Pudd'nhead Wilson
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.21.0010231703340.65525-100000>
