Red Hat Bugzilla – Bug 746210
The usermod command can not expand groups
Last modified: 2011-10-14 07:22:22 EDT
Description of problem:
While expanding the group membership of a user, an error occurs. I want to record the user "michael" in the group "users" with the following command in the console:
# usermod -a -G users michael
# echo $?
When executing this command does not error or it is not displayed. The return code is zero. In the file /etc/group the user is listed as a member of the group "users".
# grep users /etc/group
Now, when I command "id" is the newly added group "user" in the user "michael" is not displayed.
# id michael
uid=1000(michael) gid=1000(michael) Gruppen=1000(michael)
Thus, the user "michael" no rights "users" group.
Version-Release number of selected component (if applicable):
Repeatedly reproduced on each execution of the command.
Steps to Reproduce:
It can not be added to other user groups.
# uname -a
Linux diego 3.1.0-0.rc9.git0.0.fc16.x86_64 #1 SMP Wed Oct 5 15:30:54 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Fedora installation media: Fedora-16-Beta-x86_64-netinst.iso
All installed software has been updated today (10/14/2011) and is up to date. Let me know if you still need additional information.
*** This bug has been marked as a duplicate of bug 745675 ***