[Adduser-devel] Bug#468152: Bug#468152: Bug#468152: adduser: Parameter --ingroup does not work

Stephen Gran sgran at debian.org
Wed Feb 27 13:20:25 UTC 2008


This one time, at band camp, Daniel Migowski said:
> Hello Stephan,
> 
> Thank you for your enlightening response.

I'm glad it was helpful.

> Stephen Gran schrieb:
> > This one time, at band camp, Daniel Migowski said:
> > > If I am wrong, then this is a bugreport for uncomprehensible documentation,
> > > since this says:
> > >
> > >   --ingroup GROUP
> > >         Add  the new user to GROUP instead of a usergroup or the default
> > >         group defined by USERS_GID in the adduser.conf file.
> > >
> > > And i wonder, what differs "GROUP" from "a usergroup", btw.
> >
> > It is sort of an arbitrary way of thinking about it, it's true.  The
> > split is:
> > peter has some admin defined group as primary (cdrom)
> > peter has a primary group same as username (peter - this is a usergroup)
> > peter has the same primary group as all other users (group users)
> >
> > Does that help?  Or do you have a better wording for the documentation?
>   
> It helps. I wasn't aware of the primary/secondary group concept. And my 
> try for a better wording of the documentation is this (This is what I 
> would have understood better, but I am no linux guru, so if this is too 
> obvious its okey for me know.):
> 
> Set the new users primary group to GROUP instead of creating a new 
> usergroup and using this as the primary group or using the default group 
> defined by USERS_DIG in the adduser.conf file. If you just want to add 
> the new user to other secondary groups, use "adduser <user> <group>" 
> after creating the user.

Something like that seems reasonable, I agree.  I will add a note to the
documentation that --ingroup does not add additional groups, it affects
the user's primary group.  From my point of view, I thought that was
obvious enough not to need to be stated explicitly, but I apparently
have the blinders of having worked with this stuff for too long, and
have to be corrected :)

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/20080227/8f9fb3c4/attachment.pgp 


More information about the Adduser-devel mailing list