[Adduser-devel] Bug#453086: Bug#453086: adduser --system --group should ensure uid==gid

Stephen Gran sgran at debian.org
Tue Nov 27 13:02:23 UTC 2007


This one time, at band camp, Ian Jackskon said:
> It would be slightly less confusing if the ids matched.
> 
> This machine was installed from an etch netinst CD about three weeks
> ago and I have configured exim only via dpkg-reconfigure.  I'm pretty
> sure the user was created by this line in exim4-config's postinst:

What's the benefit?  The reason they don't match is that there are some
groups in the 'system gid' range assigned that don't have matching users
- specifically, the groups crontab and users.  These use 100 and 101 on
most systems, so system users that come after can either have their uid's
renumbered up to match, or we can take the course adduser currently does
and just not worry about something that's not an issue in practice.

I guess I do see the aesthetic appeal, but I'm not sure I want to rule
out use of some parts of the already fairly small system range, just
because either the uid or the gid is already taken.

If you can provide a reason that's more than aesthetic, I'm willing to
consider it.  Take care,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            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/20071127/8500dfce/attachment.pgp 


More information about the Adduser-devel mailing list