Difference between revisions of "Encrypted filesystem"

From MyWiki
Jump to: navigation, search
 
Line 16: Line 16:
 
encfs ~/encrypted ~/decrypted<br>
 
encfs ~/encrypted ~/decrypted<br>
 
To chage the password :<br>
 
To chage the password :<br>
encfsctl passwd ~/encrypted
+
encfsctl passwd ~/encrypted<br><br>
 +
To unmount EncFS decrypted folder, enter:<br>
 +
$ fusermount -u ~/decrypted-folder <enter><br>

Latest revision as of 13:05, 6 December 2014

http://www.howtoforge.com/encrypt-your-data-with-encfs-fedora-17

Installing EncFS
Become root first:
su
EncFS can then be installed as follows:
yum install fuse-encfs
Exit the root shell:
exit
You should now take a look at the EncFS man page to familiarize yourself with its options:
man encfs

Using EncFS
I will now create the directories encrypted and decrypted in my home directory:

mkdir -p ~/encrypted
mkdir -p ~/decrypted
The decrypted directory acts as the mount point for the encrypted directory. To mount ~/encrypted to ~/decrypted, simply run:
encfs ~/encrypted ~/decrypted
To chage the password :
encfsctl passwd ~/encrypted

To unmount EncFS decrypted folder, enter:
$ fusermount -u ~/decrypted-folder <enter>