[Adduser-devel] Bug#516285: Bug#516285: It seems to accept anything for 'yes'
enrico at debian.org
Fri Feb 20 14:52:00 UTC 2009
On Fri, Feb 20, 2009 at 01:40:09PM +0000, Stephen Gran wrote:
> This one time, at band camp, Enrico Zini said:
> > Is the information correct? [Y/n] p
> > pico:/# adduser enrico
> > adduser: The user `enrico' already exists.
> > pico:/#
> > Apparently, it was happy to take 'p' for a yes.
> Since the default is 'yes', the code only looks to see if you've
> actively negated the action. I think, while perhaps slightly silly,
> this is ultimately correct.
My rationale was that if garbage is detected, then one cannot assume to
be able to interpret the will of the user. In this case, it's quite
easy to just ask again, instead of going on and creating an account with
data that can potentially contain garbage.
But ultimately, I'll accept any judgement on this: it isn't really a big
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20090220/d4455268/attachment.pgp
More information about the Adduser-devel