Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2002 23:58:16 -0400
From:      Scott Lambert <lambert@lambertfam.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: Adduser broken??
Message-ID:  <20020512035816.GD35818@laptop.lambertfam.org>
In-Reply-To: <3CDD2298.5090200@ezri.org>
References:  <20020511133453.GA55362@ns2.wananchi.com> <3CDD2298.5090200@ezri.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 11, 2002 at 09:54:32AM -0400, Wade Majors wrote:
> Odhiambo Washington wrote:
> >When you invoke it, it says:
> >
> >Usernames must match regex (shortened):
> >[^[a-z0-9_][a-z0-9_-]*$]:
> >
> >Then enter a username to add and it will continue to prompt you for 
> >username
> >till the cows come home ;-)
> 
> It is not prompting you for a username. it is prompting you for a regex 
> pattern. The default is what is in []'s. This is the configuration 
> stage. Just press enter for the prompts after that (must use passwords, 
> default shell, etc) until you get to the prompt that says "Enter 
> username [(regex from above)]:"

Also, if you don't want it to ask you the adduser configuration questions
every time you add a users, run adduser with the -s flag.  Then the first
question is what you have been expecting it to be.

-- 
Scott Lambert                    KC5MLE                       Unix SysAdmin
lambert@lambertfam.org       http://www.lambertfam.org/~lambert/resume.html
3 years Sr. SysAdmin experience with FreeBSD in small & medium size ISPs.

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




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