On Wed, 2012-05-16 at 02:18 +0000, Steve Langasek wrote: > On Wed, May 16, 2012 at 12:59:35AM -0000, Marc Deslauriers wrote: > > Sudo already parses /etc/environment when used with the -i option. If > > our goal is to have it always parse /etc/environment, how about simply > > doing the following? > > Because there may be other pam modules that also need to set environment > variables for proper operation. pam_krb5 or pam_afs, perhaps?
Ah, yes...so we should probably replace sudo's /etc/environment handling then. Makes sense, thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982684 Title: sudo, pkexec don't apply global environment settings from /etc/environment To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/982684/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs