From owner-freebsd-current Wed Nov 27 18:57: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AF1737B401; Wed, 27 Nov 2002 18:57:02 -0800 (PST) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD9F343EAF; Wed, 27 Nov 2002 18:57:01 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0289.cvx22-bradley.dialup.earthlink.net ([209.179.199.34] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18HErM-0006if-00; Wed, 27 Nov 2002 18:57:01 -0800 Message-ID: <3DE585AA.39584D8E@mindspring.com> Date: Wed, 27 Nov 2002 18:55:38 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Juli Mallett Cc: "David W. Chapman Jr." , current@freebsd.org Subject: Re: pw_user.c change for samba References: <20021127192126.GA31706@leviathan.inethouston.net> <3DE52B70.44402B98@mindspring.com> <20021127203401.GA35573@leviathan.inethouston.net> <3DE5315A.FC6D59B@mindspring.com> <20021127142348.A60606@FreeBSD.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Juli Mallett wrote: > > The '$' is a pain. None of the examples in the original post > > would have worked, because the '$' was not '\$', and the shell > > would have blown chunks over the "variable expansion". > > Your foundation is flawed, we allow $ in passwd just fine, and > the only problem here is whether a pw should let someone do > something we support which they might need to do. Apply the patch. Then try to add a user with a trailing "$" via adduser(1); Note the failure. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message