Bug 459817

Summary: groupmems does not add or remove users propery
Product: [Fedora] Fedora Reporter: chris <bugzilla>
Component: shadow-utilsAssignee: Peter Vrabec <pvrabec>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 8CC: goetschius, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-02 09:19:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description chris 2008-08-22 16:54:01 UTC
Description of problem: groupmems does not add or remove users propery

1) groupmems -g groupname -d username does not remove the user from the group.

2) groupmems -g groupname -a username gives a Segmentaion Fault Error when adding when adding an addition user to groups that have two or more users.

Version-Release number of selected component (if applicable):
shadow-utils-2:4.0.18.1-22.fc8.i386


How reproducible:

constistantly Reproducible


Steps to Reproduce:
1)groupmems -g groupname -d username does not remove the user from the group.
     A) if groupname contains users tom, dick, harry 
     B) # groupmems -g groupname -l   => tom, dick, harry
     C) # groupmens -g groupname -d dick   
     D) # groupmems -g groupname -l   => tom, dick, harry

2) groupmems -g groupname -a username gives a Segmentaion Fault Error when adding when adding an addition user to groups that have two or more users.

     A) if groupname contains users tom and you want to add users dick and harry
     B) # groupmens -g groupname -a dick
     C) # groupmems -g groupname -l   => tom, dick, 
     D) # groupmens -g groupname -a harry  => Segmentation Fault
    

Actual results:
See doc on steps to reproduce
Expected results:

See doc on steps to reproduce
Additional info:

Comment 1 Peter Vrabec 2008-09-02 09:03:50 UTC
*** Bug 459825 has been marked as a duplicate of this bug. ***

Comment 2 Fedora Update System 2008-09-02 09:14:51 UTC
shadow-utils-4.1.1-4.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/shadow-utils-4.1.1-4.fc9

Comment 3 Peter Vrabec 2008-09-02 09:19:03 UTC
Feel free to reopen this bug report, if shadow-utils-4.1.1-4.fc9 doesn't fix the issue.

Comment 4 Fedora Update System 2008-09-10 07:01:56 UTC
shadow-utils-4.1.1-4.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.