Bug#410366: [Adduser-devel] Bug#410366: adduser: adduser --group --gid <GID> <GROUP> advertised but fails

Stephen Gran sgran at debian.org
Sun Feb 11 15:24:32 CET 2007


tags 410366 -wontfix
thanks
This one time, at band camp, Justin Pryzby said:
> On Sat, Feb 10, 2007 at 11:31:16AM +0000, Stephen Gran wrote:
> > This one time, at band camp, Justin Pryzby said:
> > > /usr/sbin/adduser --group --gid 12345 foo
> > > adduser: The --group, --ingroup, and --gid options are mutually exclusive.
> > 
> > This is intended behavior.  If you want to add a group, run addgroup.
> > Many programs behave differently based on ARGV[0], and this is just
> > another of them.
> > 
> You left out an important part:
> 
> /usr/sbin/adduser -h
> adduser --group [--gid ID] GROUP
> addgroup [--gid ID] GROUP
>    Add a user group
> 
> So this is advertised as a supported syntax.  I don't mind and have no
> objection to using addgroup exclusively for this purpose, but then
> adduser must not advtise that it works.

Hmm.  All right, I'll review it in the next couple of days and either
remove the advertising of the option, or allow it to work.  Thanks for
the report.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            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/20070211/af8c2d6e/attachment.pgp


More information about the Adduser-devel mailing list