I'm sure this is something simple, but I can't for the life of me figure out what is going on.
We are using NIS (haven't had a chance to migrate to LDAP) and for some reason the groups aren't being displayed correctly.
[scott.adair@tor-admin01 ~]$ groups
pfa-admin
But when I search based on my username, it returns correctly
[scott.adair@tor-admin01 ~]$ groups scott.adair
scott.adair : pfa-admin it-admin
This is the same for the id command as well. This seems to work fine for local users (root), but not for any of my NIS accounts.
I can use the newgrp command to switch to the it-admin group, but that seems like a bit of hack.
Any ideas?