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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1083605

Title:
  env not changed in acc. with ~/.pam_environment if /home is on nfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1083605/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to