> awww# rmuser -y irc-argentina
> Sorry, login name must contain alphanumeric characters only.

I just submitted a PR and the following (trivial) patch such that 
we should get a fix in the tree RSN.

        --Kevin

--- rmuser.perl.bak     Tue Oct 24 16:05:49 2000
+++ rmuser.perl Tue Oct 24 16:20:35 2000
@@ -108,7 +108,7 @@
     # 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*$/);
+       if ($login_name !~ /^[a-zA-Z0-9_][a-zA-Z0-9_\-]*$/);
 } else {
     if ($affirm) {
        print STDERR "${whoami}: Error: -y option given without username!\n";

-----------------------------------------------------------------------
kevin way                                                  215 354 5287
software engineer                                        [EMAIL PROTECTED]
worldgate communications


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to