LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   make an encrypt file system on a flash drive (http://www.linuxquestions.org/questions/linux-newbie-8/make-an-encrypt-file-system-on-a-flash-drive-4175453082/)

abashasan 03-07-2013 05:06 AM

make an encrypt file system on a flash drive
 
Setup a 64MB encrypted file system in a file on a Flash drive?
then, how to ensure that the Flash drive has exactly
the same mount point each time it is used on different
machines?
also, how to manage the file system encryption keys?

please help

Nbiser 03-07-2013 01:11 PM

Sorry about the two posts, haven't been able to figure out how to delete one of the posts....some computer tech that I am. See below for my answer.

Nbiser 03-07-2013 01:12 PM

Here is a link for the encryption: http://http://www.esecurityplanet.com/views/article.php/3880616/How-to-Encrypt-a-USB-Flash-Drive.html

As far as the mount point goes, you should simply create the same directory on each of your linux systems; for example:
Code:

mkdir /home/johndough/usb1
You will then mount your USB to this folder. It will have to have the same name and location on all of your systems. Hope this helps. Feel free to ask again if you need any more advice!:)

jefro 03-07-2013 04:27 PM

The usb flash is not unique. Other tools can be used to encrypt any part of or the entire disk just as if it were an internal disk. Also one might be able to easily encrypt a file on a flash drive. That file could be a "loop" type of file. What I mean is a file could be seen like a filesystem when mounted by some means. So, one could take a single file and make it act like a full partition.

http://www.cyberciti.biz/hardware/ho...setup-command/

http://www.truecrypt.org/


If you just want to encrypt any file then http://www.cyberciti.biz/tips/linux-...-password.html


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