Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 154954

Summary: Adding user to a group changes primary group
Product: Red Hat Enterprise Linux 3 Reporter: David Lehman <dlehman>
Component: redhat-config-usersAssignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: bnocera, tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: RHBA-2005-672 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-28 20:03:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 156320    

Description David Lehman 2005-04-15 00:48:38 UTC
+++ This bug was initially created as a clone of Bug #111199 +++

Adding a user to a group from the UI accessed with double-clicking a
user, then opening the Groups tab causes the selected choice in the
Primary Group drop-down box to change, apparently to the
alphabetically first group the user is a member of.  This results
easily in accidental primary group changes for users.

Name and version of package:

To reproduce:
1. add a user to a group which alphabetically comes before the user's primary group
2. double click on that user in r-c-users and select groups tab
3. check the box net to an unchecked group in the list

Actual results:
primary group is changed to whichever of the user's groups is first alphabetically

Expected results:
no change to primary group pulldown

Additional Information:
I'll be happy to post a patch here if you want, but the patch is already in
s-c-users in RHEL4. It's the tempName stuff in method toggled_item in

Comment 1 Bastien Nocera 2005-05-13 12:32:04 UTC
*** Bug 157633 has been marked as a duplicate of this bug. ***

Comment 10 Red Hat Bugzilla 2005-09-28 20:03:58 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.