On 2013-01-23 22:57, Steve Langasek wrote: > Well, I suppose we want to call setfsuid() before trying to read > ~/.pam_environment from pam_env;
If I understand the code correctly, handle_env() in modules/pam_env/pam_env.c calls pam_modutil_drop_priv() in libpam/pam_modutil_priv.c where setfsuid() is called. In the accountsservice fix of this bug we call setresuid(), and that seems to make a difference on NFS. -- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
