I try to create new groups and stuff on my desktop using the groupadd command. after this i edited the /etc/group file and put my name behind the new group after this i logged in with my name, and typed the command groups, but it list all groups except the one i allready created. i tried the same thing with the groupmems command, and i got a segmentation fault i tried also to create a new user and put it directly in the group, but this worked not perfect... when i make this changes by hand in the file, the groups will get not updated... Reproducible: Always Steps to Reproduce: some examples --> linuxtower dejungma # useradd -g wheel testuser linuxtower dejungma # grep wheel /etc/group wheel:x:10:root,dejungma linuxtower dejungma # su testuser testuser@linuxtower /home/dejungma $ groups wheel testuser@linuxtower /home/dejungma $ grep wheel /etc/group wheel:x:10:root,dejungma <-- or when i used the groupmems command --> linuxtower ~ # groupadd test linuxtower ~ # grep test /etc/group test:x:450: linuxtower ~ # groupmems -a dejungma -g test Segmentation fault <-- i use the newest version of shadows [ebuild R ] sys-apps/shadow-4.0.18.1-r1 USE="cracklib nls pam -nousuid (-selinux) -skey"
Has zero in common w/ CVS product; not to mention that you need to re-login if you edit /etc/groups for the changes to take effect. This is not a support forum, bugzilla is for bugs.
No idea what the comment above is about, what with CVS and all. Anyways, FYI: I ran into this today when trying to add users to a group. From Googling around it's a pretty common problem. Upgrading to sys-apps/shadow-4.1.3.1 fixed it for me and it's working properly now.