From owner-freebsd-bugs Tue Jan 28 5:27:21 2003 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DA6D37B401; Tue, 28 Jan 2003 05:27:20 -0800 (PST) Received: from relay2.mecon.ar (relay2.mecon.ar [168.101.16.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8BC843F75; Tue, 28 Jan 2003 05:27:18 -0800 (PST) (envelope-from fernando@mecon.gov.ar) Received: from racing.mecon.ar (racing.mecon.ar [168.101.133.15]) by relay2.mecon.ar (8.12.6/8.12.6) with ESMTP id h0SDRHXC095132; Tue, 28 Jan 2003 10:27:17 -0300 (ART) (envelope-from fernando@mecon.gov.ar) Received: from racing.mecon.ar (meyosp.mecon.gov.ar [10.11.0.149]) by racing.mecon.ar (8.12.6/8.12.6) with ESMTP id h0SDRBQh075531; Tue, 28 Jan 2003 10:27:12 -0300 (ART) (envelope-from fernando@mecon.gov.ar) Received: from bal740r0.mecon.gov.ar (bal740r0.mecon.ar [10.11.1.11]) by racing.mecon.ar (8.12.6/8.12.6) with ESMTP id h0SDRBGS075527; Tue, 28 Jan 2003 10:27:11 -0300 (ART) (envelope-from fernando@mecon.gov.ar) Received: from bal740r0.mecon.gov.ar (localhost [127.0.0.1]) by bal740r0.mecon.gov.ar (8.12.6/8.12.6) with ESMTP id h0SDRB52000485; Tue, 28 Jan 2003 10:27:11 -0300 (ART) (envelope-from fernando@mecon.gov.ar) Received: (from fpscha@localhost) by bal740r0.mecon.gov.ar (8.12.6/8.12.6/Submit) id h0SDRBjG000484; Tue, 28 Jan 2003 10:27:11 -0300 (ART) (envelope-from fernando@mecon.gov.ar) X-Authentication-Warning: bal740r0.mecon.gov.ar: fpscha set sender to fernando@mecon.gov.ar using -f Date: Tue, 28 Jan 2003 10:27:11 -0300 From: Fernando Schapachnik To: Garance A Drosehn Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/46890: [PATCH] pw doesn't accept characters like $ although it should according to passwd(5) Message-ID: <20030128132711.GD296@bal740r0.mecon.gov.ar> References: <200301280126.h0S1QhqH098326@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200301280126.h0S1QhqH098326@freefall.freebsd.org> User-Agent: Mutt/1.4i X-OS: FreeBSD 4.7 - http://www.freebsd.org Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ok, thanks for the commit! Regarding your comment in bin/28773 let me point out that a MFC to stable would be very usefull. Some places (like us) prefer to user pw instead of useradd, for its flexibility (pw user add -h, for instance). I'll try to update the passwd(5) man page describing the allowed chars and submit it as a PR. Is that right? Lic. Fernando Schapachnik Proyecto de Informática Ministerio de Economía En un mensaje anterior, Garance A Drosehn escribió: > Synopsis: [PATCH] pw doesn't accept characters like $ although it should according to passwd(5) > > State-Changed-From-To: open->closed > State-Changed-By: gad > State-Changed-When: Mon Jan 27 17:23:25 PST 2003 > State-Changed-Why: > I commited a change to pw_user.c in current which will allow the '$' > character as the last character in a user or group name. This will > address the problem that affects samba. The patch supplied in this > PR would have been a bad idea, as the list of valid characters for > a userid or group name is definitely different than the list of valid > characters allowed in a gecos field. Perhaps the man page should be > more explicit about those restrictions, but in any case samba users > should be OK now. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=46890 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message