Comment 24 for bug 1083605

Revision history for this message
Steve Langasek (vorlon) wrote :

Yes, setresuid() does make a difference over NFS, but it's the wrong interface. You should be using setfsuid(), *not* setresuid().

If pam_env is already calling setfsuid() (which makes sense, as this is mature and well-exercised code, including on NFS), then I don't know of any other reason for the module to fail to read ~/.pam_environment on NFS. Someone who can reproduce this will need to trace the issue to see what's happening.