Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Would it? Poo. That's my bad.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: