[Bug 1083605] Re: env not changed in acc. with ~/.pam_environment if /home is on nfs
Gunnar Hjalmarsson
gunnarhj at ubuntu.com
Sat Jan 26 22:40:38 UTC 2013
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
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/1083605
Title:
env not changed in acc. with ~/.pam_environment if /home is on nfs
Status in “accountsservice” package in Ubuntu:
Fix Released
Status in “pam” package in Ubuntu:
New
Bug description:
When using localization setup from the login screen, the choice
doesn't work because of a permission error, if the user's home
directory is mounted with nfs. The problem happens because this is
done by root, usually not able to write over nfs shares. The problem
disappears if home directories are exported with no_root_squash
option. So, something is making access as root, instead as user.
I'm using Precise.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1083605/+subscriptions
More information about the foundations-bugs
mailing list