From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 11:55:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE78637B405 for ; Thu, 3 Jul 2003 11:55:57 -0700 (PDT) Received: from mta7.adelphia.net (mta7.adelphia.net [64.8.50.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A23E43FF7 for ; Thu, 3 Jul 2003 11:55:57 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com ([24.53.179.151]) by mta7.adelphia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with ESMTP id <20030703185556.WEBU1347.mta7.adelphia.net@potentialtech.com>; Thu, 3 Jul 2003 14:55:56 -0400 Message-ID: <3F047C3C.3020704@potentialtech.com> Date: Thu, 03 Jul 2003 14:55:56 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Johan Paul References: <3F0478F6.6040601@johanpaul.com> In-Reply-To: <3F0478F6.6040601@johanpaul.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Problem adding user (4.8R) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 18:55:58 -0000 Johan Paul wrote: > Hi, > > I just installed FreeBSD 4.8 and tried to add a user to the system using > 'adduser foo'. > > I get a few questions and then this: > > -- 8< -- > Don't worry about mistakes. I will give you the chance later to correct > any input. > Enter username [foo]: > Please enter a username > Enter username [foo]: foo > Please enter a username > Enter username [foo]: > -- 8< -- > > ...whatever I type in as username, the system rejects it. > > I can add users via sysinstall. But this bothers me... what could be wrong? I'm guessing that during the startup portion of adduser, you entered "foo" as the "username regex". This isn't where you enter a username, but where you enter a pattern that limits the possible usernames. Deleting /etc/adduser.conf will get you back to the shipped defaults. -- Bill Moran Potential Technologies http://www.potentialtech.com