Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #200050

I am new to proxy

From Ionel Mugurel Ciobîcă <i.m.ciobica@gmail.com>
Newsgroups linux.debian.user
Subject I am new to proxy
Date 2018-09-12 13:30 +0200
Message-ID <wxbvk-6VG-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

I change my work place and I can have a Linux computer at work. The network
at work is with proxy, so after reading about it I was able to make apt
from the netinstall disk to talk with proxy. I have now a working Debian
stable running. The proxy settings were in fact a *.pac file, which I
downloaded as text and read the content. The proxy:8080 did not work so I
use now username:password@proxy:8080. I have my username and password in
clear in the following files: /etc/profile, /etc/apt/apt.conf and
/etc/wgetrc.
Is this the proper way? Those files have 644 permissions. Is there a way to
put the username/password combo in a file, say /etc/credentials
(permissions 400 or 600) and somehow export those for the proxy?
I start to read about cntlm that uses hash password, but somehow this do
not work for me. I get "Credentials rejected" and "Wrong credentials,
invalid URL or proxy doesn't support NTLM nor BASIC."
What solutions are there to avoid to store the username/password so many
times in unsafe config files?

Thank you for any hint.

 Ionel

P.S. I use Debian since 1997.

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

I am new to proxy Ionel Mugurel Ciobîcă <i.m.ciobica@gmail.com> - 2018-09-12 13:30 +0200
  Re: I am new to proxy Ionel Mugurel Ciobîcă <i.m.ciobica@gmail.com> - 2018-09-12 13:40 +0200

csiph-web