From owner-freebsd-stable Sun Oct 8 21:51:56 2000 Delivered-To: freebsd-stable@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id 6CA6237B66C for ; Sun, 8 Oct 2000 21:51:53 -0700 (PDT) Received: from gorean.org (Studded@master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id VAA69562; Sun, 8 Oct 2000 21:51:47 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <39E14EE3.8AFB1B88@gorean.org> Date: Sun, 08 Oct 2000 21:51:47 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 5.0-CURRENT-100 i386) X-Accept-Language: en MIME-Version: 1.0 To: Gianmarco Giovannelli Cc: stable@freebsd.org Subject: Re: username with - References: <5.0.0.25.0.20001002082345.0256ceb0@194.184.65.4> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Doug -- "The dead cannot be seduced." - Kai, "Lexx" Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message