LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   simple question about local password files (http://www.linuxquestions.org/questions/linux-security-4/simple-question-about-local-password-files-4175438857/)

scottmusician 11-27-2012 01:12 AM

simple question about local password files
 
Hi all,

I am thinking of running imapsync from a cron script, to automatically backup some mail.
imapsync calls for a password.txt file (well, two of them).
Any secure way to do this?

Would uuencode be suffice?

Cheers,

Scott

---------- Post added 27-11-12 at 05:12 PM ----------

Also, what happens when passwords need to change?

pan64 11-27-2012 03:42 AM

uuencode is not secure at all. A password protected compression would be much better. I suggest you also to protect that file, so noone can enter the directory containing it and noone can read it (except the user who really need it).

sundialsvcs 11-27-2012 04:53 PM

You need to approach this problem from the point-of-view of denying access to the file, not encrypting or masking its content. Tell us more about your scenario . . .


All times are GMT -5. The time now is 10:07 PM.