My corporation requires proxy to which you need to authorise. We are running on Win7 system. I have installed VirtualBox with Ubuntu (as 1st machine) and CentOS (2nd machine).
While in Firefox access works in both virtual machines - credential popup shows up and I authorise using my domain\username and password - access is granted. But in the terminal and all OS services there is no access to the Internet.
Now - lets assume my login is as follows:
aaa.net\ubuntu with password - ubuntu#0
- I set a proxy under network proxy settings to server and port
then I set the proxy in the environment:
I also put this entry in
But it does not work at all - apt / yum are able to connect to proxy, but then they are given a 407 authorisation error. Of course I was trying to put the URL in quotes, also I have tried to use
username\@domain syntax - but that doesnt change anything.
I suspect system provides wrong syntax to the proxy - as there are special characters in both domain and password. But then again why Firefox works without any problems?
If this fails - would you know a way to set wget/yum/apt to INTERACTIVELY ask for username/password?
Most of all if you guys help me out on the problem - here is another thing. While setting env, yum, apt and or network proxy via ubuntu GUI and providing username and password - system is basically compromised, as running simple command as printenv shows your password - so if someone executes this he would have my domain details which I use to all services at work. Is there a way to put some MD5 on the passwd or to encrypt it somehow?