Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 746210

Summary: The usermod command can not expand groups
Product: [Fedora] Fedora Reporter: Singer Michael <info>
Component: shadow-utilsAssignee: Peter Vrabec <pvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: pvrabec, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-14 11:22:22 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 Singer Michael 2011-10-14 11:10:06 UTC
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 $?
0

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
users:x:100:michael

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):
shadow-utils-4.1.4.3-7.fc16.x86_64

How reproducible:
Repeatedly reproduced on each execution of the command.

Steps to Reproduce:
see obove
  
Actual results:
It can not be added to other user groups.

Expected results:


Additional info:

# 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.

Regards
Michael Singer

Comment 1 Tomas Mraz 2011-10-14 11:22:22 UTC

*** This bug has been marked as a duplicate of bug 745675 ***