Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
zx2c4
11y ago
0 comments
Share
Fair enough. Though,
read -p "Password: " -s password; some_command --username myusername --password "$password"
0 comments
default
newest
oldest
0x0
11y ago
Although this avoid a .bash_history entry, this will still make the password visible to "ps ax" on most multi-user systems.
j
/
k
navigate · click thread line to collapse