Linux (Ubuntu) filter: Why aren't my login supplementary groups correct?
February 2, 2012 11:51 AM Subscribe
I just upgraded to Ubuntu 10.04. My system is set up to use NIS and autofs. I am able to login and get to nfs-mounted filesystems w/o problem. However my login is just reporting one group membership (as per the 'id' command) whereas it should be reporting 15. I've found that if I su to myself ('su - luge') then all the groups appear. I've also found that if I ssh to another system and ssh back to my system then I only get one group, but if I ssh to another system and *telnet* back to my system then all the groups appear. I've also found that the getgroups(0, NULL) syscall behaves accordingly, returning 1 or 15 depending on the above. Is this some kind of process inheritance issue?