From owner-freebsd-questions Fri Mar 22 11:24:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from linuxmail.touchtunes.com (operator.touchtunes.com [216.94.139.201]) by hub.freebsd.org (Postfix) with ESMTP id 33DB037B404 for ; Fri, 22 Mar 2002 11:24:16 -0800 (PST) Received: from sunder.touchtunes.com (sunder.touchtunes.com [192.168.0.26]) by linuxmail.touchtunes.com (8.9.3/8.8.7) with ESMTP id OAA03059 for ; Fri, 22 Mar 2002 14:24:30 -0500 Received: (from dinjo@localhost) by sunder.touchtunes.com (8.11.6/8.11.6) id g2MJ2UP44757; Fri, 22 Mar 2002 14:02:30 -0500 (EST) (envelope-from dinjo) Date: Fri, 22 Mar 2002 14:02:30 -0500 From: Joel Dinel To: Chris Collins Cc: freebsd-questions@FreeBSD.ORG Subject: Re: adduser problem Message-ID: <20020322140229.A44726@sunder.touchtunes.com> Mail-Followup-To: Joel Dinel , Chris Collins , freebsd-questions@FreeBSD.ORG References: <20020322133235.A44390@sunder.touchtunes.com> <20020322135717.H5980-100000@bsduser.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020322135717.H5980-100000@bsduser.ca>; from chris@collins-ca.com on Fri, Mar 22, 2002 at 01:57:50PM -0500 X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD 4.5-STABLE i386 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 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 > To: Joel Dinel > 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