Date: Tue, 28 Jan 2003 10:27:11 -0300 From: Fernando Schapachnik <fernando@mecon.gov.ar> To: Garance A Drosehn <gad@FreeBSD.org> 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> In-Reply-To: <200301280126.h0S1QhqH098326@freefall.freebsd.org> References: <200301280126.h0S1QhqH098326@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030128132711.GD296>