Hide Forgot
Description of problem: I added my user to group 'wheel'. But it seems that it doesn't belong to this group. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. usermod -a -G wheel artur 2. id artur 3. grep artur /etc/group Actual results: # usermod -a -G wheel artur # id artur uid=1000(artur) gid=1000(artur) groups=1000(artur) # grep artur /etc/group wheel:x:10:artur artur:x:1000: Expected results: # usermod -a -G wheel artur # id artur uid=1000(artur) gid=1000(artur) groups=1000(artur),10(wheel) # grep artur /etc/group wheel:x:10:artur artur:x:1000: Additional info:
Thanks for report. Command id/groups just uses getgroup(2) from glibc. Btw. your steps to reproduce are incomplete - please read info documentation for id/group - "Primary and supplementary groups for a process are normally inherited from its parent and are usually unchanged since login. This means that if you change the group database after logging in, `groups' will not reflect your changes within your existing login session." - so before the logout/login, that's perfectly ok and documented behaviour. Anyway, it seems that glibc is now a bit buggy, there are more such reports... closing as duplicate of glibc bug. *** This bug has been marked as a duplicate of bug 745675 ***