From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.15) Gecko/20080702 Fedora/2.0.0.15-1.fc8 Firefox/2.0.0.15 Description of problem: The utility is able to add an user to a group, but it's not able to remove the user from the group. The only way how to accomplish this is to purge all users from the group (groupmems -p -g tegr). Version-Release number of selected component (if applicable): shadow-utils-4.0.18.1-22.fc8 How reproducible: Always Steps to Reproduce: # groupadd tegr # grep tegr /etc/group tegr:x:501: # useradd teus # grep teus /etc/passwd teus:x:501:502::/home/teus:/bin/bash # groupmems -a teus -g tegr # echo $? 0 # grep tegr /etc/group tegr:x:501:teus # groupmems -d teus -g tegr # echo $? 0 # grep tegr /etc/group tegr:x:501:teus # Actual Results: groupmems -d does not remove the user from the group Expected Results: groupmems -d removes the user from the group Additional info:
This is already fixed from F-9 on (shadow-utils-4.1.2).