Comment on Back That Gmail UpparentComments−yaix14yJust chmod the shell script to 700, so that only your account can read it, together with an encrypted HDD that should be quite save.−waffle_ss14yIf 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−yaix14yGood point, hadn't thought of the process list.
Comments
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:
Good point, hadn't thought of the process list.