Admin-Ahead Community

Windows => Server Security & Hardening => Topic started by: Aby on February 04, 2014, 02:28:19 pm

Title: Create a Encrypted Folder On Ubuntu for security
Post by: Aby on February 04, 2014, 02:28:19 pm
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.
---