Setting HTTP_PROXY for all users

Ceri Davies ceri at submonkey.net
Tue Aug 30 15:32:46 GMT 2005


I want to set HTTP_PROXY for all users on my machine, and I'd like to do
it in /etc/login.conf as then it's only in one place.

However, I need to put a colon in for the port number and can't see how
to escape it so that the entry doesn't get chopped off halfway through.
None of these work:

	:setenv=HTTP_PROXY=www-cache.private.submonkey.net:3128:\

	:setenv=HTTP_PROXY=www-cache.private.submonkey.net\:3128:\

	:setenv=HTTP_PROXY="www-cache.private.submonkey.net:3128":\

Is there a way to do this, or should I just throw this in /etc/profile
and /etc/csh.cshrc instead?

Ceri
-- 
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050830/74d0ac6f/attachment.bin


More information about the freebsd-questions mailing list