Hi,
What methods do people use to protect passwords in scripts.
For example I have a script to run some back up against outdated devices that support Telent (so not the best security a way).
so I have a cron job that runs a script to do this, but the script has a plain text password saved in it, that I want to hide.
I have seen things like
Encrypting Shell Scripts - The Community's Center for Security (SHC) to encrypt the scripts,
and suggestions of mcrypt
, or
gpg.
But I wanted to get some ideas of how people here mange this. I can use shared keys, and ideal I want to save it all on the one box (not pull in passwords at run time from somewhere else)
Any ides or pointers would be hlpfull.
Cheers
Aaron