Ubuntu offers the ability to automatically mount/unmount the home directory using encFS when the user logs in or out.
How can this be applied to a truecrypt volume using only a keyfile (no password) residing in the home directory? The home directory must be decrypted first on login so that the keyfile is readable and then the truecrypt volume (/dev/sdb) should be mounted. The reverse occurs on logout where the volume should be dismounted (though order is less relevant).
The user in question has sudo powers but the mount should be automatic without password prompt (which permissions need to be set in order to avoid interactive sudo? Should an entry be made in