Hacker News new | past | comments | ask | show | jobs | submit login

Just chmod the shell script to 700, so that only your account can read it, together with an encrypted HDD that should be quite save.



If it's a shared box, you'd still have to hide the --pwd argument from `ps` process listings. You'd have to do something like make a ~/.gmail-pass file with the content "--pwd foobar", and call the script like this:

  cat ~/.gmail-pass | xargs python bagoma.py --email=foo@bar


Good point, hadn't thought of the process list.




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

Search: