Wednesday, April 29, 2009

Create a Encrypted Folder On Ubuntu for security

Step 1 : Install eCryptfs in Ubuntu

apt-get  install ecryptfs-utils

Step 2 : Create a new directory to encrypt.

#mkdir foldername

#chmod 700 foldername

Step 3 : Mount the ecryptfs to the other folder using the following command

#mount -t ecryptfs foldername[entryptedfolder] folder2[ directorywhereyouwanttomount]

It will then prompt you to answer a few questions.

Press “1″ to select passphrase

No comments:

sanjay's shared items

My Blog List