Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2002 14:02:30 -0500
From:      Joel Dinel <dinjo@touchtunes.com>
To:        Chris Collins <chris@collins-ca.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: adduser problem
Message-ID:  <20020322140229.A44726@sunder.touchtunes.com>
In-Reply-To: <20020322135717.H5980-100000@bsduser.ca>; from chris@collins-ca.com on Fri, Mar 22, 2002 at 01:57:50PM -0500
References:  <20020322133235.A44390@sunder.touchtunes.com> <20020322135717.H5980-100000@bsduser.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Nope. AFAIK, it's always been like this.

But I don't think you fully understand what you did. You ran adduser in
config. mode, and when it prompted you for a 'mask' for your usernames
(a word that you wish to find in *every* username, to enforce some
policies), you entered 'test'. It was *not* asking you what user you
wanted to add, but what word or charaters you wanted to enforce on all
your usernames.

Hope this clears it up.

Damn, I top-posted again.

On Fri, Mar 22, 2002 at 01:57:50PM -0500, Chris Collins wrote:
> Date: Fri, 22 Mar 2002 13:57:50 -0500 (EST)
> From: Chris Collins <chris@collins-ca.com>
> To: Joel Dinel <dinjo@touchtunes.com>
> Subject: Re: adduser problem
> X-Spam-Status: No, hits=-5.0 required=5.0 tests=IN_REP_TO version=2.11
> 
> Damm that did it... why did they make this change.. I never remember it
> like this before...
> 
> Chris
> 
> 
> On Fri, 22 Mar 2002, Joel Dinel wrote:
> 
> > On Fri, Mar 22, 2002 at 01:28:58PM -0500, Chris Collins wrote:
> > > > > bsduser# adduser -config_create
> > > > > bsduser# adduser
> > > > > 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:
> > > > > [^[a-z0-9_][a-z0-9_-]*$]: test
> > ---end quoted text---
> >
> > Your problem is right above. When you are creating the *template*, you
> > enter the username 'test'. Don't enter anything.
> >
> > If you enter 'test' in the username *template*, adduser will only accept
> > username that begin with 'test' afterwards, like 'testme', 'test123',
> > and so on.
> >
> > --
> > Joel Dinel
> > System Administrator
> > TouchTunes Digital Jukebox, Inc.
> > GnuPG key : http://lysander.mine.nu/~kint/mykey.asc
> >
---end quoted text---

-- 
Joel Dinel
System Administrator
TouchTunes Digital Jukebox, Inc.
GnuPG key : http://lysander.mine.nu/~kint/mykey.asc

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?20020322140229.A44726>