From owner-freebsd-bugs Wed Nov 20 4: 8:56 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A239F37B401; Wed, 20 Nov 2002 04:08:55 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69FCF43E3B; Wed, 20 Nov 2002 04:08:55 -0800 (PST) (envelope-from tom@FreeBSD.org) Received: from freefall.freebsd.org (tom@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAKC8tx3068077; Wed, 20 Nov 2002 04:08:55 -0800 (PST) (envelope-from tom@freefall.freebsd.org) Received: (from tom@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAKC8sXd068073; Wed, 20 Nov 2002 04:08:54 -0800 (PST) Date: Wed, 20 Nov 2002 04:08:54 -0800 (PST) From: Tom Hukins Message-Id: <200211201208.gAKC8sXd068073@freefall.freebsd.org> To: p01nt3r@sp00fed.ru, tom@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/43677: Bug in /usr/sbin/adduser Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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