Filesystem encryption using eCryptfs

Topics: Linux, Filesystem, Security

eCryptfs encrypts selected directories on Linux, such as a user’s home directory, without requiring encryption of the entire filesystem.

Changing the encryption passphrase

This is necessary if the user password is used as encryption passphrase via PAM.

ecryptfs-rewrap-passphrase /home/.ecryptfs/$USER/.ecryptfs/wrapped-passphrase