From owner-freebsd-questions Sun Jun 16 12: 8: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from spin.web.net (spin.web.net [192.139.37.16]) by hub.freebsd.org (Postfix) with ESMTP id F20C337B411 for ; Sun, 16 Jun 2002 12:08:00 -0700 (PDT) Received: by spin.web.net (Postfix, from userid 1000) id 26D4712E44D; Sun, 16 Jun 2002 15:08:04 -0400 (EDT) Date: Sun, 16 Jun 2002 15:08:03 -0400 From: Rob Ellis To: freebsd-questions@FreeBSD.ORG Subject: Re: adduser Message-ID: <20020616190803.GA20268@web.ca> Mail-Followup-To: Rob Ellis , freebsd-questions@FreeBSD.ORG References: <20020616140519.A42599@smnolde.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020616140519.A42599@smnolde.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > On the first line, it asked me to input username. Then, it stored what I > > have input as a valid charactor for username. it sounds like you entered a username at the prompt for the regular expression. to put it back the way it was, run 'adduser' again, and type: ^[a-z0-9_][a-z0-9_-]*$ at the first prompt. - rob On Sun, Jun 16, 2002 at 02:05:19PM -0400, Scott M. Nolde wrote: > Supat Anekbanluekul(supat_a@hotmail.com)@2002.06.16 03:09:35 +0000: > > Hi > > I have a question on "adduser". I have install 4.6mini. After successfully > > installed, I would like to add more user by using "adduser". > > On the first line, it asked me to input username. Then, it stored what I > > have input as a valid charactor for username. > > I'm sorry for my poor explaination. Could you try it to see what I have > > tried to explain and let me know how to solve the problem? > > > > > > Regard, > > Supat > > > > pw(1) is sometimes easier to use. > > pw useradd -n username -m -s /path/to/shell -G groups > > -- > Scott Nolde > GPG Key 0xD869AB48 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message