Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The following is the standard way suggested to set the environment variable for the https_proxy:

export https_proxy=<username>:<password>@<proxy>:<port>

But it clearly shows/stores my password in plain-text. Even if I wrote a script that will read the password by not echoing it on the screen, the password gets stored in plain-text and when I type the command: printenv, it clearly shows.

Is there any way so that I need not have to store the password in the environment variable and still be able to use wget or other internet programs?

share|improve this question
You might want to look at this. – devnull Mar 29 '14 at 8:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.