> > > 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.

I think NAKAJI Hiroyuki pointed out that adduser has nothing to do with
pw_user

and if you add usernameregexp = '^[a-z0-9_][a-z0-9_-]*[a-z0-9_$-]$' to
/etc/adduser.conf adduser will then allow $'s


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to