On Sun, May 3, 2015 at 4:54 PM, Nicolas George <geo...@nsup.org> wrote: > Le quartidi 14 floréal, an CCXXIII, Avinash Sonawane a écrit : >> No. Sorry for not being so clear. When I say `$ env` (i.e. as normal > > Do not worry, everyone forgets to check basic things from time to time. > >> user) it doesn't show http_proxy. As if /etc/environment is not >> available to normal user. I wonder why? (I checked file permissions >> they are 0644) >> >> When I say `# env` (i.e. as root user) I can see `http_proxy`, >> `https_proxy` and `ftp_proxy` as if /etc/environment is available to >> root only. > > So there you are: the problem is not with sudo, it is with the environment > of your normal user. > > Did you close your login session and start a fresh one since you changed > /etc/environment?
I rebooted multiple times since then! may be it's file permissions. For me $ ls -la /etc/environment /etc/sudoers -rw-r--r-- 1 root root 117 May 2 17:41 /etc/environment -r--r----- 1 root root 778 May 3 16:13 /etc/sudoers Any pointers? -- Avinash Sonawane (RootKea) PICT, Pune http://www.rootkea.wordpress.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/caj9bsw_fon+uxnqedlfp0rpfjc9kwv6ylok6myzfaquoo9q...@mail.gmail.com