How to auto-mount encfs volume on login in ubuntu 9.10
Posted
by xzenox
on Super User
See other posts from Super User
or by xzenox
Published on 2009-11-24T14:24:54Z
Indexed on
2010/04/17
5:03 UTC
Read the original article
Hit count: 662
Hi, Previously, in 9.04, I was using pam mount in conjunction with encfs to mount an encrypted volume at login. This worked perfectly and since the password was the same as my user password, none was entered besides the initial login one.
Now in 9.10, using the same setup and the same volume line in pam's config file, the volume will not mount. The folder does not even get created for the mount point. I am thinking this might be caused by the fact that I now switched to using an encrypted /home directory (previously left unencrypted on 9.04). To encrypt it, i used the standard /home encrypt setup from the 9.10 fresh install.
I am thinking that perhaps, pam tries to mount the volume before /home is mounted and fails. Is there a log file I could look into/post here?
Note that mounting manually works fine using the same paths, writing full paths does not help, nor is removing the options attribute.
Here's my volume entry:
<volume user="nicholas" fstype="fuse" path="encfs#~/.dropbox_dir/Dropbox/encrypted" mountpoint="~/Dropbox" options="nonempty" />
© Super User or respective owner