Debian Bug report logs -
#583976
alligning UID==GID for user private groups
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#583976; Package adduser.
(Mon, 31 May 2010 21:51:05 GMT) (full text, mbox, link).
Acknowledgement sent
to "C. Gatzemeier" <c.gatzemeier@tu-bs.de>:
New Bug report received and forwarded. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>.
(Mon, 31 May 2010 21:51:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: adduser
(Filing this, to track the TODOs from the discussion that followed
http://lists.debian.org/debian-devel/2010/05/msg00887.html)
Am Wed, 26 May 2010 08:40:26 +0100
schrieb Stephen Gran <sgran@debian.org>:
> This one time, at band camp, Steve Langasek said:
> > On Tue, May 25, 2010 at 11:30:49PM +0100, Stephen Gran wrote:
> > > This one time, at band camp, Michael Banck said:
> >
> > > > Seems worthwhile to change adduser how you suggest to me, is
> > > > there a bug filed to this end?
> >
> > > adduser has had bugs filed in the past asking for uid to be equal
> > > to gid by default, and I have so far rejected them as not worth
> > > the complexity for the aesthetic pleasure of having numbers
> > > match. Is there some problem with username == primary group name?
> >
> > pam_umask requires both username == primary group name and uid ==
> > gid before it will assume UPG are in place when using its
> > 'usergroups' option, and I am not willing to diverge from upstream
> > on this as this would mean admins coming from other systems may get
> > an unpleasant surprise when they find that Debian gives a more
> > relaxed umask than they were expecting in some corner cases.
> >
> > So either someone should convince Linux-PAM upstream to change the
> > behavior of pam_umask, or adduser should enforce the same rules as
> > other implementations, if pam_umask is to be involved here. Beyond
> > that, I have no particular opinion on this question.
>
> That's the first useful argument I've heard for changing adduser's
> behavior. Interoperability with other software is a useful goal, and
> when I was arguing it wasn't worth the complexity, either pam_umask
> didn't exist or I was unaware of it. I'll try to get this change into
> squeeze.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#583976; Package adduser.
(Wed, 23 Nov 2011 10:09:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Marc Haber <mh+debian-packages@zugschlus.de>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>.
(Wed, 23 Nov 2011 10:09:08 GMT) (full text, mbox, link).
Message #10 received at 583976@bugs.debian.org (full text, mbox, reply):
On Mon, May 31, 2010 at 11:49:40PM +0200, C. Gatzemeier wrote:
> Am Wed, 26 May 2010 08:40:26 +0100
> schrieb Stephen Gran <sgran@debian.org>:
> > This one time, at band camp, Steve Langasek said:
> > > On Tue, May 25, 2010 at 11:30:49PM +0100, Stephen Gran wrote:
> > > > This one time, at band camp, Michael Banck said:
> > >
> > > > > Seems worthwhile to change adduser how you suggest to me, is
> > > > > there a bug filed to this end?
> > >
> > > > adduser has had bugs filed in the past asking for uid to be equal
> > > > to gid by default, and I have so far rejected them as not worth
> > > > the complexity for the aesthetic pleasure of having numbers
> > > > match. Is there some problem with username == primary group name?
> > >
> > > pam_umask requires both username == primary group name and uid ==
> > > gid before it will assume UPG are in place when using its
> > > 'usergroups' option, and I am not willing to diverge from upstream
> > > on this as this would mean admins coming from other systems may get
> > > an unpleasant surprise when they find that Debian gives a more
> > > relaxed umask than they were expecting in some corner cases.
> > >
> > > So either someone should convince Linux-PAM upstream to change the
> > > behavior of pam_umask, or adduser should enforce the same rules as
> > > other implementations, if pam_umask is to be involved here. Beyond
> > > that, I have no particular opinion on this question.
> >
> > That's the first useful argument I've heard for changing adduser's
> > behavior. Interoperability with other software is a useful goal, and
> > when I was arguing it wasn't worth the complexity, either pam_umask
> > didn't exist or I was unaware of it. I'll try to get this change into
> > squeeze.
So the idea would be to iterate through the number space until a
number is found that is free both as a UID and a GID if it is
requested to create a user and the corresponding, identically named
group?
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062
Message sent on
to "C. Gatzemeier" <c.gatzemeier@tu-bs.de>:
Bug#583976.
(Wed, 23 Nov 2011 10:09:20 GMT) (full text, mbox, link).
Severity set to 'minor' from 'normal'
Request was from Marc Haber <mh+debian-packages@zugschlus.de>
to control@bugs.debian.org.
(Wed, 23 Nov 2011 10:16:48 GMT) (full text, mbox, link).
Marked as found in versions adduser/3.112+nmu2.
Request was from Marc Haber <mh+debian-packages@zugschlus.de>
to control@bugs.debian.org.
(Tue, 08 Mar 2022 16:21:03 GMT) (full text, mbox, link).
Merged 583976 643561
Request was from Marc Haber <mh+debian-packages@zugschlus.de>
to control@bugs.debian.org.
(Tue, 08 Mar 2022 16:57:07 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser@packages.debian.org>:
Bug#583976; Package adduser.
(Sun, 03 Jul 2022 21:27:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Marc Haber <mh+debian-packages@zugschlus.de>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser@packages.debian.org>.
(Sun, 03 Jul 2022 21:27:02 GMT) (full text, mbox, link).
Message #24 received at 583976@bugs.debian.org (full text, mbox, reply):
Control: tags -1
thanks
On Wed, Nov 23, 2011 at 11:06:45AM +0100, Marc Haber wrote:
> So the idea would be to iterate through the number space until a
> number is found that is free both as a UID and a GID if it is
> requested to create a user and the corresponding, identically named
> group?
According to #643561, uid identity is no longer needed for the PAM
feature to work.
Greetings
Marc
Message sent on
to "C. Gatzemeier" <c.gatzemeier@tu-bs.de>:
Bug#583976.
(Sun, 03 Jul 2022 21:27:04 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 21:06:12 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.