[CentOS] yum proxy username with @ character

David Toman david.toman at dhl.com
Fri Sep 14 07:15:09 UTC 2007


Shawn K. O'Shea wrote:
> I was really curious about this, so I googled around a bit. I don't 
> know about the support in the environment variables, but from what I'm 
> reading, the "%40" encoding should definitely work if you use the 
> proxy variables in yum.conf, ie:
> proxy=http://proxyserver.somedomain.local:portnum/
> proxy_username=username%40stuffafteratsymbol
> proxy_password=password
>
> This should at a minimum be true for CentOS 4.5 since I cracked open 
> the python on my box to see exactly what the proxy code was doing :)
Shawn,
thank you very much, this really made the trick!
And I can confirm that the above works fine on CentOS release 5 (Final)

Regards,
David




More information about the CentOS mailing list