[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] FAQ on hiding passwords from ps -f
From: |
Tim Ruehsen |
Subject: |
Re: [Bug-wget] FAQ on hiding passwords from ps -f |
Date: |
Tue, 12 Mar 2013 09:02:05 +0100 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) |
Am Monday 11 March 2013 schrieb Nathan Phillip Brink:
> To remedy this, naturally, the “echo pass” would be replaced with
> “echo $pass” or “echo ${pass}”.
Yes, that should be changed.
> I think that the command should be revised to use --post-file. I think
> that the “read -s -p pass; echo "os_password=${pass}" > sometempfile”
> method will work OK *as long as echo is a shell built-in*.
What about --ask-password ?
It will prompt the PW for every connection (from the man page). So it is a bit
different than --password.
Regards, Tim