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?
everyonewithout 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? – telcoM Oct 07 '21 at 16:46strace -f id entitlementmay 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. – Bib Oct 07 '21 at 17:59/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/passwdor/etc/groupdirectly, especially if you're going to use other services like NIS. Usegetentinstead. – cas Oct 08 '21 at 03:08/etc/groupbut some other file too. But I can't find a reference except for theextrausersoption innsswitch.confso I could be mistaken – Chris Davies Oct 08 '21 at 12:36passwd: files sss
shadow: files sss
group: files sss
– Joshua Cuesta Oct 08 '21 at 14:24