Why is it that group1 which should be user's primary group, is in the subgroups? The user is not even part of group1 in /etc/group file.
# id user uid=1000(user) gid=1111(group1) groups=1111(group1),1112(group2),1113(group3)
From my fairly new knowledge about *nix systems, isn't it that gid=1111(group1), is the primary group. While all groups under groups= is a subgroup? Then why is it by default that the primary group is being listed in groups=