Code:
L_UID=`grep ^UID_MIN /etc/login.defs 2>/dev/null|awk '{print $2}'`; [ -z $L_UID ] && L_UID=500
if [ `id -g` -ge $L_UID ]; then
export FTP_PROXY=http://127.0.0.1:8080/
export HTTP_PROXY=http://127.0.0.1:8080/
export HTTPS_PROXY=http://127.0.0.1:8080/
#export NO_PROXY=10.10.1.0
fi
Hello.
Seems strange, this advice doesn't work for me.
I tried several variants in the script:
export HTTP_PROXY=http://127.0.0.1:8080/
export HTTP_PROXY=http://proxy.server.fqdn:8080/
export HTTP_PROXY=proxy.server.fqdn:8080
but the are no logs from my IP address in the proxy log file. When I set it manually in browser, the traffic starts going through the proxy, so it [proxy] works fine.
What's wrong?!