From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 11:57:46 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 D57E337B401 for ; Thu, 3 Jul 2003 11:57:46 -0700 (PDT) Received: from tonnikala.nettikala.fi (tonnikala.nettikala.fi [212.182.218.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EE2443FDD for ; Thu, 3 Jul 2003 11:57:46 -0700 (PDT) (envelope-from mailing-lists@johanpaul.com) Received: from localhost (localhost [127.0.0.1]) by tonnikala.nettikala.fi (Postfix) with ESMTP id 533D24200B5 for ; Thu, 3 Jul 2003 21:57:51 +0300 (EEST) Received: by tonnikala.nettikala.fi (Postfix, from userid 612) id 343614200B6; Thu, 3 Jul 2003 21:57:51 +0300 (EEST) Received: from johanpaul.com (dyn-7.milkyway [10.0.42.7]) by tonnikala.nettikala.fi (Postfix) with ESMTP id 913944200B5 for ; Thu, 3 Jul 2003 21:57:50 +0300 (EEST) Message-ID: <3F047D17.6030809@johanpaul.com> Date: Thu, 03 Jul 2003 21:59:35 +0300 From: Johan Paul User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.3 required=7.0 tests=SPAM_PHRASE_05_08,USER_AGENT,USER_AGENT_MOZILLA_UA, X_ACCEPT_LANG version=2.43-cvs X-Spam-Level: X-Virus-Scanned: by AMaViS snapshot-20020531 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:57:47 -0000 >> 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. > Does 'foo' match the regexp that you entered > or already had setup when you were 'answering > a few questions?' Well, I think so This is what I did: -- 8< -- silakka# adduser mats Use option ``-silent'' if you don't want to see all warnings and questions. Check /etc/shells Check /etc/master.passwd Check /etc/group Usernames must match regular expression: [kypeli]: mats Enter your default shell: bash csh date no sh tcsh [bash]: Your default shell is: bash -> /usr/local/bin/bash Enter your default HOME partition: [/home]: Copy dotfiles from: /usr/share/skel no [/usr/share/skel]: Send message from file: /etc/adduser.message no [/etc/adduser.message]: Use passwords (y/n) [y]: Write your changes to /etc/adduser.conf? (y/n) [n]: Ok, let's go. Don't worry about mistakes. I will give you the chance later to correct any input. Enter username [mats]: Please enter a username Enter username [mats]: Please enter a username Enter username [mats]: mats Please enter a username Enter username [mats]: -- 8< -- Did I do something wrong? > > Kevin Kinsey > DaleCo, S.P. Best regards, Johan Paul