How To Encrypt Ubuntu Home Folder From Command Line Using eCryptfs
Drive encryption is meant to secure your hard drive in case your computer is stolen or compromised with critical information in it, such as bank account credentials, credit card or social security number. During the installation of Ubuntu 11.10 Oneiric Ocelot, an option is provided to encrypt the Home folder to secure your files and folders. In case you haven’t selected this option during installation, you can easily do it using the ecryptfs-utils command line. eCryptfs is a cryptographic stacked Linux file system, which stores cryptographic metadata in the header of written files, to allow encrypted files to be copied between hosts. The file is then decrypted using the proper key in the Linux kernel keyring.
Read More