[Adduser-devel] Bug#516285: Bug#516285: Bug#516285: It seems to accept anything for 'yes'

Joerg Hoh joerg at joerghoh.de
Sat Sep 19 19:54:36 UTC 2009


On Sat, Feb 21, 2009 at 12:12:11PM +0000, Stephen Gran wrote:
> > 
> > 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.
> Yeah, I can see that point of view.  I tend to think of adduser as a
> program designed to be called from maintainer scripts, and it's
> usefulnss to admins is kind of secondary (sort of like update-rc.d or
> something).  This has led to lots of places in the code making
> assumptions that if you're not actively saying no, we should proceed.

Surprisingly this questions only occurs when you add a "regular" user; in
the codepath which creates system users there is no question like this.

> > But ultimately, I'll accept any judgement on this: it isn't really a big
> > deal.
> Fair enough - I'll think on it and see what Joerg has to say, and go
> from there.

I tend to agree on the point made by Enrico. The change isn't invasive and
does not affect the translations.
But there are several situations that adduser goes into a kind of
interactive mode asking questions.

We should handle all such situations consistently.


What did you do to the cat? It looks half-dead. -Schroedinger's wife
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20090919/41d7f48c/attachment.pgp>

More information about the Adduser-devel mailing list