| Autor | 
    Nachricht | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: A cool way to have an encrypted folder 
             Verfasst 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
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: RE: A cool way to have an encrypted folder 
             Verfasst 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? | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 23.09.2006, 05:06 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
            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::
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 23.09.2006, 08:32 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 05. Dez 2005 
            Beiträge: 414 
            Wohnort: Auckland, New Zealand 
            
            
           | 
         
       
     | 
    
      
        
          ahhh bluewater - good idea, thanks   | 
         
        
          
          
            
          
             _________________ Linux is evolution, not intelligent design - Linus Torvalds
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst am: 23.09.2006, 15:37 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 21. Jan 2006 
            Beiträge: 185 
             
            
            
           | 
         
       
     | 
    
      
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel:  
             Verfasst 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   | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
  
    | 
      
     |