Encrypted filesystem

From MyWiki
Revision as of 13:05, 6 December 2014 by George2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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>