Comment 2 for bug 604665

Revision history for this message
Fernando (fernando-018) wrote :

Running as root:
================
# env|grep 10.1.1.1
http_proxy=http://10.1.1.1:3128/
ftp_proxy=ftp://10.1.1.1:3128/
https_proxy=https://10.1.1.1:3128/

Running as a normal user:
=========================
$ env|grep 10.1.1.1
http_proxy=http://10.1.1.1:3128/
ftp_proxy=ftp://10.1.1.1:3128/
https_proxy=https://10.1.1.1:3128/

But doing sudo:
===============
$ sudo env|grep 10.1.1.1
[NO RESULTS]

$ sudo env
TERM=xterm
LS_COLORS=rs=0:di=01; (...)
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
LANG=es_AR.utf8
HOME=/home/xxx
DISPLAY=:0.0
XAUTHORITY=/var/run/gdm/auth-for-xxx-xxxxxx/database
SHELL=/bin/bash
LOGNAME=root
USER=root
USERNAME=root
SUDO_COMMAND=/usr/bin/env
SUDO_USER=xxx
SUDO_UID=1000
SUDO_GID=1000