Linux Security: Disk Encryption with eCryptfs

Install eCryptfs on the Provided System

sudo apt-get install ecryptfs-utils

Configure ‘/opt/protected’ as an Encrypted Mount

sudo mount -t ecryptfs /opt/protected /opt/protected
# Use "supersecret1" as passphrase
# Accept defaults fot all prompts

Copy the Contents of ‘/etc/profile.d’

sudo cp /etc/profile.d/* /opt/protected/

Re-encrypt ‘/opt/profile.d/* /opt/protected/

umount /opt/protected

Full Video

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

A WordPress.com Website.

Up ↑

%d bloggers like this: