I have a script that runs telnet commands. I want to give people with access to my server, access to run this script. I _don't_ want them to get the password, as its currently stored in cleartext in the script. I'm not worried about extreme security, I just want the password hidden.
1) What's the easiest way to do this?
2) I've tried implementing this via Data::Encrypted, however I'm getting 'Bad key file format at /usr/local/share/perl/5.8.8/Data/Encrypted.pm line 78'
I'm using my ssh keys generated via ssh-keygen to pass to the program. Can anyone advise on how to fix this error or an easier way to go about doing this?