Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2002 18:55:38 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Juli Mallett <jmallett@FreeBSD.org>
Cc:        "David W. Chapman Jr." <dwcjr@inethouston.net>, current@freebsd.org
Subject:   Re: pw_user.c change for samba
Message-ID:  <3DE585AA.39584D8E@mindspring.com>
References:  <20021127192126.GA31706@leviathan.inethouston.net> <3DE52B70.44402B98@mindspring.com> <20021127203401.GA35573@leviathan.inethouston.net> <3DE5315A.FC6D59B@mindspring.com> <20021127142348.A60606@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DE585AA.39584D8E>