Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2002 15:08:03 -0400
From:      Rob Ellis <rob@web.ca>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: adduser
Message-ID:  <20020616190803.GA20268@web.ca>
In-Reply-To: <20020616140519.A42599@smnolde.com>
References:  <F126pua5unpndJLnGS90001931e@hotmail.com> <20020616140519.A42599@smnolde.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> >   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




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