Bug 746210 - The usermod command can not expand groups
Summary: The usermod command can not expand groups
Keywords:
Status: CLOSED DUPLICATE of bug 745675
Alias: None
Product: Fedora
Classification: Fedora
Component: shadow-utils
Version: 16
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-14 11:10 UTC by Singer Michael
Modified: 2011-10-14 11:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-14 11:22:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.