Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2002 04:08:54 -0800 (PST)
From:      Tom Hukins <tom@FreeBSD.org>
To:        p01nt3r@sp00fed.ru, tom@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: misc/43677: Bug in /usr/sbin/adduser
Message-ID:  <200211201208.gAKC8sXd068073@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: Bug in /usr/sbin/adduser

State-Changed-From-To: open->closed
State-Changed-By: tom
State-Changed-When: Wed Nov 20 04:07:45 PST 2002
State-Changed-Why: 
This is not a bug in adduser(8):  you are using the command incorrectly.
If you see the line:
	"Enter username[test]:"
you have entered "test" in response to the line:
	"Usernames must match regular expression:"

Instead of typing "test" as a regular expression, hit return to accept
the default, or enter ^[a-z0-9_][a-z0-9_-]*$ if your adduser.conf has
been modified to use "test" as the default regular expression.

The fix you supplied misunderstands how the command should work - you do
not "enter username second time", you enter a regular expression that
valid usernames must match first, then a username later on.

http://www.freebsd.org/cgi/query-pr.cgi?pr=43677

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211201208.gAKC8sXd068073>