[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sudo not respecting /etc/sudoers



Le quartidi 14 floréal, an CCXXIII, Avinash Sonawane a écrit :
> When I say `# env` I can see http_proxy=http://192.168.6.254:3128 but
> when I say `$ sudo env` there's no http_proxy variable printed.
> 
> What's going on?

I assume that you checked that "env" without "sudo" shows http_proxy?

If so, now, we know for sure that the problem is in sudo. The next test I
would suggest would be to have a single name in the "keep +=" directive:

Defaults env_keep += http_proxy

and see if it changes something.

To Juha Heinanen: obviously your installation can access external HTTP sites
without a proxy.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature


Reply to: