I'm running debian lenny and I was trying to add my user account to the usergroup games. So I opened up a root terminal and did
which removed all my other groups. I added them back with the same command right after.
The problem is that the group command does not show me in the games group. When I type
which gives the groups of the current user it prints out
Code:
a dialout cdrom floppy audio video plugdev netdev powerdev vboxusers
but when I type
it prints out the correct groups
Code:
a dialout cdrom floppy audio video plugdev games netdev powerdev vboxusers
It seems as if I have created a new user with the same id as my user account. Is this possible? Or do I have to logout and login again for it to work?
PS: I did learn eventually that I need to type usermod -a -G to retain my old groups.