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.
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.