On Wed, 2 Dec 2015, Ondrej Valousek wrote:
Hi List,
I have a strange problem with newgrp. Machine is running SSSD, user U is member of groups G1,G2,G3. 'id -a U' shows correctly membership G1,G2,G3 Now command 'newgrp G1' completes successfully for him, but command 'newgrp G2' prompts for password. Any other user, member of the same groups do not have a problem with 'newgrp G2'. Just this particular user.
Strace did not unveil anything useful. Does anyone hit the same problem?
Does getent group G2 show them to be a member? AFAIK newgrp/chgrp do things backwards.
jh