Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
zx2c4
12y ago
0 comments
Save
Share
Fair enough. Though,
read -p "Password: " -s password; some_command --username myusername --password "$password"
0 comments
1 comments · 1 top-level
top
newest
oldest
0x0
12y 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