Hacker News new | ask | show | jobs
by fooblat 2243 days ago
> some-command --username=jedimastert --password=`cat secret.txt`

This will not work in the way that you suggest. The output of ps will show the result of `cat secret.txt` and thus reveal the password.

1 comments

Would it? Poo. That's my bad.