Encrypt home directory with ecryptfs

= About = Ecryptfs Kernel Bug This will help you to create an ecryptfs encrypted home directory, the whole home, for. The whole directory will be encrypted, not just ~/Private. Encrypted files will be stored in /home/.ecryptfs/ /.Private, which will be automounted on login over /home/ . Some configuration files will reside in the unencrypted /home/  and will become invisible after the mount of ecryptfs. This is by design and comes with no disadvantages.

= Emerge the needed packages = We will need  and. Also make sure that you have configured your kernel for use with ecryptfs.

= Initial mount and encryption of the home directory = Create a directory for the encrypted files

Initial mount

Make sure to use passphrase mode. The passphrase can be different from your unix login password. It will later be wrapped in /home/ /.ecryptfs/wrapped-passphrase with the unix login password. Save the options for later use

Unmount

= Prepare the users unencrypted home directory for automount on login = Copy the sig-cache into the users home directory

Wrap the passphrase into a file. This will ask you for a passphrase, the one you told ecryptfs to encrypt your files, and your unix login password, for wrapping the passphrase with.

pam_ecryptfs.so flag
This will tell pam_ecryptfs to unwrap the passphrase with the unix login password on login. It does not really any auto-mount stuff, because we will later configure pam_ecryptfs withtout the session management. pam_mount will take care of the mount and umount.

Give the user what (s)he needs :)

= System file configuration = http://wstianfei.com/Shownews.asp?id=378289 http://www.zmm028.com/forum.php?mod=viewthread&tid=173105&fromuid=28566 http://www.zmm028.com/forum.php?mod=viewthread&tid=173105&fromuid=28566

security/pam_mount.conf.xml
Allow a per user pam_mount.conf and the according mount options.

~/.pam_mount.conf.xml
http://www.soundstagehifi.com/index.php?option=com_content&view=article&id=403:meitner-audio-ma-1-digital-to-analog-converter? http://px520.net/forum.php?mod=viewthread&tid=491258&fromuid=92313 http://px520.net/forum.php?mod=viewthread&tid=491258&fromuid=92313