Y
Hacker News
new
|
ask
|
show
|
jobs
by
zx2c4
4444 days ago
Fair enough. Though,
read -p "Password: " -s password; some_command --username myusername --password "$password"
1 comments
0x0
4444 days ago
Although this avoid a .bash_history entry, this will still make the password visible to "ps ax" on most multi-user systems.
link