We have a proxy server in our college which I am handling. Every machine in the college has to enter a username/password to get access to the internet. The only problem I am facing is that there is no way to configure apt-get and Synaptic for the proxy alongwith username/password. They just give an option of entering a proxy server entry, nothing for username/password. Is there anything to configure proxy with username/password in apt-get and Synaptic? (Actually, there is one I know but its unethical and insecure to be used on the local network.)
-- Regards, Sanket Medhi.
Sometime on Wed, Jan 18, 2006 at 01:06:43PM +0530, Sanket Medhi said:
The only problem I am facing is that there is no way to configure apt-get and Synaptic for the proxy alongwith username/password. They just give an option of entering a proxy server entry, nothing for username/password. Is there anything to configure proxy with username/password in apt-get and
In Synaptic preferences, you have to specify proxy directive like this: [[user][:pass]@]proxy.host
For use with apt-get, you may need to add it to /etc/apt/apt.conf to work
Synaptic? (Actually, there is one I know but its unethical and insecure to be used on the local network.)
Was this the unethical way you were talking about?
Anurag
On Wednesday 18 January 2006 01:18 PM, Anurag wrote:
Sometime on Wed, Jan 18, 2006 at 01:06:43PM +0530, Sanket Medhi said: For use with apt-get, you may need to add it to /etc/apt/apt.conf to work
You can also export the proxy settings through command line or put it in your .bash_profile file.
export http_proxy=http://user:password@proxy(name/IP):Proxyport
Hardik.
On 1/18/06, Anurag anurag@gnuer.org wrote:
Was this the unethical way you were talking about?
Yes! :) But I think there should be something else in these widely used tools to configure proxy. Storing the username/password in such a way is definitely insecure. -- Regards, Sanket Medhi.
Sometime on Wed, Jan 18, 2006 at 01:50:46PM +0530, Sanket Medhi said:
Yes! :) But I think there should be something else in these widely used tools to configure proxy. Storing the username/password in such a way is definitely insecure.
As it is its insecure. The user must realise that his credentials are being transported in plain text format over the network. That's why there's no point in giving him/her false sense of security.
For the same reason, fetchmail, gaim, internet dialers.. all store passwords in plain text.
Anurag
On Wednesday 18 January 2006 2:03 pm, Anurag wrote:
Sometime on Wed, Jan 18, 2006 at 01:50:46PM +0530, Sanket Medhi
said:
Yes! :) But I think there should be something else in these widely used tools to configure proxy. Storing the username/password in such a way is definitely insecure.
As it is its insecure.
ssh port forwarding to the proxy. No plaintext on the wire.
The user must realise that his credentials are being transported in plain text format over the network. That's why there's no point in giving him/her false sense of security.
For the same reason, fetchmail, gaim, internet dialers.. all store passwords in plain text.
Anurag
__ __
gnu /noo/ n. Ox like antelope; (abbr.) /gnoo/ n. (recursive acronym) Gnu's Not Unix.