I did a usermod
to add the current user user
in a group, but when I run id -Gn
it only shows the main user's group:
[user@computer ~]$ id -Gn
user
But when I specify the user, it works normally:
[user@computer ~]$ id -Gn user
user newgroup
Do you have an idea why it works like it? Am I missing something concerning the groups management in UNIX?