It turns out there is an easy way to mount other ecryptfs folders at login by borrowing the signatures from the .Private folder. I hope this is useful to someone.
Code: Select all
$ mkdir /path/secret
$ cd /home/.ecryptfs/myuser/.ecryptfs
$ ln -s Private.sig secret.sig
$ echo "/path/secret /path/secret ecryptfs" > secret.conf
$ /sbin/mount.ecryptfs_private secret
# populate the folder
# add "/sbin/mount.ecryptfs_private secret" to Session and Startup/autostart
Code: Select all
grep "/path/secret" /proc/mounts && gksu umount /path/secret
-------------------
I was not able to get automount to work with pam_mount after a million DDG searches and tweaks. The instructions in the pam module section of /usr/share/doc/ecryptfs-utils/README also did not result in automount. Encfs + pam_encfs worked perfectly, but in a misguided preference for economy, I wanted to use ecryptfs.