LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   encrypt the password (https://www.linuxquestions.org/questions/linux-security-4/encrypt-the-password-795500/)

nagavinodh 03-15-2010 06:56 AM

encrypt the password
 
Hi,

We have the backup script which contains username and password.we put into cron.
how to Encrypt passwords used in cron on batch jobs.

choogendyk 03-15-2010 07:10 AM

Use public key authentication -- http://sial.org/howto/openssh/publickey-auth/.

kirukan 03-15-2010 07:13 AM

specifically on what purpose you are using password on your backup script?
1) to ssh ?
2) to scp ?
etc...

jamescondron 03-15-2010 07:14 AM

Consider three things. One is google, Two is whether or not you need to encrypt at all, and Three is whether you're sure your script *really* needs to contain a username and password.

You may be doing this all wrong

Tinkster 03-15-2010 11:31 AM

Moved: This thread is more suitable in <Security> and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 07:23 AM.