Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


Search this Thread
Old 11-27-2012, 01:12 AM   #1
Registered: Jul 2011
Location: Melbourne, AU
Distribution: Centos 5
Posts: 43

Rep: Reputation: Disabled
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?



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

Also, what happens when passwords need to change?
Old 11-27-2012, 03:42 AM   #2
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 5,544

Rep: Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466Reputation: 1466
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).
Old 11-27-2012, 04:53 PM   #3
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,573

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
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 . . .


cron, encoding, passwords, shell script, variables

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
hopefully simple question - period on certain dirs/files in ls? gargunkle Linux - Software 2 11-10-2011 09:37 PM
simple encyption code with password for movie files (large files) ufmale Programming 1 09-14-2008 12:36 AM
Simple Shell Question Regarding Password Prompts pr0gr4mm3r Linux - Software 4 03-05-2007 03:48 PM
Moving files from one harddrive to another - Simple question Jmcatch742 Linux - Newbie 1 12-20-2005 03:19 PM
.s files - a very simple question (tftp) webamoeba Linux - Newbie 2 11-28-2003 07:39 AM

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration