Can you please assist why the ID is assigned to a group named everyone?
# id entitlement
uid=315(entitlement) gid=200(everyone) groups=200(everyone)
Below commands do not return anything:
# cat /etc/group | grep everyone
# cat /etc/group | grep 200
No NIS is configured, so ypcat
is not available.
I tried doing it to another group but this time it is failing.
# usermod -g 201 entitlement
usermod: group '201' does not exist
I am trying to search but can't find any feature of Linux that does this.
Here is the content of my nsswitch.conf
passwd: files sss
shadow: files sss
group: files sss
getent found the everyone group, not sure where I am able to get this from sss. is there a command I can confirm where from sss this group is?
everyone
without it existing in/etc/group
, the system must have some additional group name resolution method configured. What is the output ofgrep group: /etc/nsswitch.conf
?strace -f id entitlement
may give you a clue as to where it is picking this group up from. A group number of 200 is rather suspicious and suggests it may have something to do with installed software. Asusermod -g 200 ...
failed, try running it against a different user and see if you can set its gid to 200./etc/passwd
(and/or whatever else your nsswitch.conf is configured to use for passwd entries). Check withgetent passwd entitlement
. The group can be listed withgetent group 200
. BTW, don't examine/etc/passwd
or/etc/group
directly, especially if you're going to use other services like NIS. Usegetent
instead./etc/group
but some other file too. But I can't find a reference except for theextrausers
option innsswitch.conf
so I could be mistaken