Bug 745798 - 'groups' does not report group I am a member of
Summary: 'groups' does not report group I am a member of
Keywords:
Status: CLOSED DUPLICATE of bug 745675
Alias: None
Product: Fedora
Classification: Fedora
Component: shadow-utils
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-13 13:14 UTC by Ales Kozumplik
Modified: 2014-09-30 23:40 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-10-13 14:22:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ales Kozumplik 2011-10-13 13:14:03 UTC
Description of problem:
This is with the latest F16 beta, fully updated.

Steps to Reproduce:
1. as root: usermod -a -G wheel akozumpl
2. logout, login again as akozumpl
3. $ groups
  
Actual results:
akozumpl

Expected results:
akozumpl wheel

Additional info:
I did the 'usermod' step yesterday before doing 'yum update'. It was after 'yum update' when 'groups' stopped working correctly (I can still see my name with 'wheel' in /etc/groups).

Comment 1 Ondrej Vasik 2011-10-13 13:23:25 UTC
I don't think it has anything to do with groups command - groups (and id -Gn) is just using getgroups(2) from glibc.
So it might be issue with glibc or shadow-utils - let's try shadow-utils first. Peter, feel free to reassign it if you thing that the issue is on different place.

Comment 2 Fabian Deutsch 2011-10-13 14:22:50 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.