From owner-freebsd-stable Sun Oct 8 23:35:29 2000 Delivered-To: freebsd-stable@freebsd.org Received: from kirk.giovannelli.it (kirk.giovannelli.it [194.184.65.4]) by hub.freebsd.org (Postfix) with ESMTP id AAA5937B503 for ; Sun, 8 Oct 2000 23:35:23 -0700 (PDT) Received: from suzy.masternet.it (modem16.masternet.it [194.184.65.76]) by kirk.giovannelli.it (8.11.0/8.11.0) with ESMTP id e996Tms47092; Mon, 9 Oct 2000 08:29:49 +0200 (CEST) (envelope-from gmarco@giovannelli.it) Message-Id: <5.0.0.25.0.20001009083602.02993e90@194.184.65.4> X-Sender: gmarco@194.184.65.4 X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Mon, 09 Oct 2000 08:38:03 +0200 To: Doug Barton From: Gianmarco Giovannelli Subject: Re: username with - Cc: stable@freebsd.org In-Reply-To: <39E14EE3.8AFB1B88@gorean.org> References: <5.0.0.25.0.20001002082345.0256ceb0@194.184.65.4> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 08/10/2000, Doug Barton wrote: >Gianmarco Giovannelli wrote: > > > > Hi, > > Our adduser let me add username with a dash inside (I use them to identify > > the user of virtual domains), like : > > ac-info > > > > But rmuser refuse to delete them : > > gmarco:/home/gmarco# rmuser ac-info > > Sorry, login name must contain alphanumeric characters only. > > > > So, who is right ? adduser or rmuser ? > > I think a better question is, why does rmuser need to check the >validity of the username at all? Shouldn't it just use getpwnam() to >make sure the user is in the db and set the variables? If the user is >there, rmuser ought to be able to remove it. I agree with you. Let's remove the check from rmuser : if a user is in the user db, rmuser must know how to wipe it from there :-) Best Regards, Gianmarco Giovannelli , "Unix expert since yesterday" http://www.giovannelli.it/~gmarco http://www2.masternet.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message