25.04.2024, 05:29 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
Swynndla
Titel: A cool way to have an encrypted folder  BeitragVerfasst am: 23.09.2006, 03:02 Uhr



Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
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 as root):
Code:
apt-get install encfs fuse-utils

Then add fuse as a module:
Code:
modprobe fuse

And add fuse to /etc/modules so that it'll be there after reboot.

Now add yourself to the fuse group:
Code:
adduser swynndla 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):
Code:
encfs /full/path/encrypted /full/path/clear

eg:
encfs /media/sda1/encrypted /media/sda1/clear

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:
Code:
encfs /full/path/encrypted /full/path/clear

To unmount (so no-one can see your files), do as user:
Code:
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.

_________________
Linux is evolution, not intelligent design - Linus Torvalds
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
DeepDayze
Titel: RE: A cool way to have an encrypted folder  BeitragVerfasst am: 23.09.2006, 03:18 Uhr



Anmeldung: 08. Dez 2005
Beiträge: 300

pretty cool indeed! Should help Windoz users who use encrypted folders make a move to Linux. Now what about making *COMPRESSED* folders?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
bluewater
Titel:   BeitragVerfasst am: 23.09.2006, 05:06 Uhr
Team Member
Team Member


Anmeldung: 04. Apr 2006
Beiträge: 153
Wohnort: Melbourne, Australia
Swynndla

I added the page to the wiki

http://kanotix.com/index.php?module=pnW ... SecurityEn

_________________
Kanotix Easter RC4 on a dual boot P4 and a production box Desktop KDE::
Kanotix 2006 Easter RC4 on a P2 and Production Box , Desktop KDE::
Kanotix EasterRC4 on a MMX 199Mhz lappy
and a Production Box, Desktop ICEWM::
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
Swynndla
Titel:   BeitragVerfasst am: 23.09.2006, 08:32 Uhr



Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
ahhh bluewater - good idea, thanks Smilie

_________________
Linux is evolution, not intelligent design - Linus Torvalds
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
kenyee
Titel:   BeitragVerfasst am: 23.09.2006, 15:37 Uhr



Anmeldung: 21. Jan 2006
Beiträge: 185

deepdayze:
I've linked to this before...look at all the cool stuff you can do w/ fuse Smilie
http://fuse.sourceforge.net/wiki/index.php/FileSystems

The one you want is compfused, fusecompress, LZOlayer_fs, or Apretujado... Winken
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
DeepDayze
Titel:   BeitragVerfasst am: 23.09.2006, 16:10 Uhr



Anmeldung: 08. Dez 2005
Beiträge: 300

just like the ol' Doublespace of DOS 6.0 fame, kenyee Smilie
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.