Letzte Änderung am 2006-09-23 06:24:06 von bluewater
Erweiterungen:
A cool way to have an encrypted folder
Löschungen:
A cool way to have an encrypted folder
Editiert am 2006-09-23 06:23:31 von bluewater
Erweiterungen:
A cool way to have an encrypted folder
Editiert am 2006-09-23 06:12:28 von bluewater
Erweiterungen:
then use the command as user (not root) (and you have to use full paths):
Löschungen:
then use the command as *user* (not root) (and you have to use full paths):
Editiert am 2006-09-23 06:11:35 von bluewater
Erweiterungen:
Warning: if you lose your password, there is no way to recover your files.
Löschungen:
Warning: if you lose your password, there is no way to recover your files.
Editiert am 2006-09-23 06:04:23 von bluewater
Erweiterungen:
I have an external usb drive, and I wanted to put some personal files in an encrypted directory so that to view the files, I would first have to put in a password.
The files could be anything, but I wanted to put some banking info and other stuff that I don't want other people to be able to see if my drive was stolen etc.
A friend told me what to do (thanks to Fran), but a howto can also be found here:
http://www.debian-administration.org/articles/204∞
This is what I did:
First you need to do (all these commands are done in console as root):
cmd:
apt-get install encfs fuse-utils
Then add fuse as a module:
cmd:
And add fuse to /etc/modules so that it'll be there after reboot.
Now add yourself to the fuse group:
cmd:
adduser yourusername fuse
(I think you have to log out and in again or reboot for the fuse group to be added ... the command "groups" shows what groups you are currently in.)
Create a folder called encrypted and a folder called clear (for example)
then use the command as *user* (not root) (and you have to use full paths):
cmd:
encfs /full/path/encrypted /full/path/clear
For example:
encfs /media/sda1/encrypted /media/sda1/clear
Setting the password
It'll take you through setting a password, and level of encryption.
(select p for paranoid if you want (uses better encryption) or enter for standard encryption)
Now "clear" will be mounted (do the command "mount" to check if you want).
Copy files into clear, and they will appear in "encrypted" as encrytped. When finished use (as user):
Code:
fusermount -u /full/path/clear
to unmount the clear version.
Now it's all set up.
To mount (and view your files), do as user:
cmd:
encfs /full/path/encrypted /full/path/clear
To unmount (so no-one can see your files), do as user:
cmd:
fusermount -u /full/path/clear
Note: you can use this method to create an encrypted folder anywhere, eg local hard drive, dvd+rw, even a usb pen formated as fat32.
Warning: if you lose your password, there is no way to recover your files.
Thanks Swynndla
älteste bekannte Version dieser Seite wurde bearbeitet am 2006-08-01 05:23:02 von RoEn [ ]
return
|
|
Letzter Editor :
Eigentümer :