Ian Jackson
2011-Sep-27 14:27 UTC
Bug#643561: adduser with personal groups produces non-matching gids
Package: adduser Version: 3.112+nmu2 I did this: # adduser keir [ answer the prompts ] # Then: # id keir uid=1011(keir) gid=1020(keir) groups=1020(keir) But this doesn''t work because pam_mask requires the ids to be identical. And I agree with pam, really. adduser should pick the first value which is available as both a uid and a gid. Ian.
Ian Jackson
2011-Sep-27 14:48 UTC
[Adduser-devel] Bug#643561: adduser with personal groups produces non-matching gids [and 1 more messages]
severity 643561 minor thanks I wrote:> Then: > # id keir > uid=1011(keir) gid=1020(keir) groups=1020(keir) > > But this doesn''t work because pam_mask requires the ids to be > identical. And I agree with pam, really.libpam-modules 1.1.1-6.1 says: | If the user is not root, and the user ID is equal to the group ID, | and the username is the same as primary group name, the umask group | bits are set to be the same as owner bits (examples: 022 -> 002, | 077 -> 007). But libpam-modules 1.1.3-2 says: | If the user is not root and the username is the same as primary | group name, the umask group bits are set to be the same as owner | bits So matching ids is no longer needed in recent pam for correct functioning of the pam_umask module. However, I still think the lack of matching ids is at the very least ugly and confusing. It would be nice if adduser would try to make the ids match. I''m downgrading my bug report. Ian.
Marc Haber
2011-Nov-23 10:15 UTC
[Adduser-devel] Bug#643561: adduser with personal groups produces non-matching gids
severity #583976 minor merge #643561 #583976 thanks
Debian Bug Tracking System
2011-Nov-23 10:16 UTC
[Adduser-devel] Processed (with 1 errors): Re: Bug#643561: adduser with personal groups produces non-matching gids
Processing commands for control at bugs.debian.org:> severity #583976 minorBug #583976 [adduser] alligning UID==GID for user private groups Severity set to ''minor'' from ''normal''> merge #643561 #583976Bug#583976: alligning UID==GID for user private groups Bug#643561: adduser with personal groups produces non-matching gids Mismatch - only Bugs in same state can be merged: Values for `severity'' don''t match: #583976 has `minor''; #643561 has `normal''> thanksStopping processing here. Please contact me if you need assistance. -- 643561: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643561 583976: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583976 Debian Bug Tracking System Contact owner at bugs.debian.org with problems