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

Stephen Gran sgran at debian.org
Fri Feb 20 13:40:09 UTC 2009


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.

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20090220/3eb894d5/attachment.pgp 


More information about the Adduser-devel mailing list