← Back to team overview

ecryptfs team mailing list archive

[Bug 256154] Re: pam_ecryptfs should respect ~/.ecryptfs/auto-[u]mount files

 

Dustin, thank you for answering.

What I'd like to do: Stop ecryptfs from automatically mounting the private folder when I log in. I'd like to be asked a password (be it my normal user password or the special passphrase) before I get access to ~/Private. 
I found the information that I could remove the auto-mount file which would mean that ~/Private would not be mounted automatically. 

What happens: After I give my user name and password at the graphical
Xfce login screen, the computer does something for 10-20 seconds (hd
activity...), quickly shows the black text-only screen with some
messages I cannot decipher (too quick), and then just falls back to the
very same login screen. I.e.: Login to Xfce is impossible. I have to
login to a text-only screen and put the auto-[u]mount files in place
again.

Questions:

a) Is the information correct that one can just remove the auto-mount
and/or auto-umount files in order to stop ~/Private from being
auto-(u)mounted?

b) If not: What should I do instead to get the desired behaviour?

Suggestion:

c) The tutorial on
https://help.ubuntu.com/community/EncryptedPrivateDirectory could  be
completed with the answer to a) and b)


I hope this time it's clearer!

-- 
pam_ecryptfs should respect ~/.ecryptfs/auto-[u]mount files
https://bugs.launchpad.net/bugs/256154
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “ecryptfs-utils” source package in Ubuntu: Fix Released

Bug description:
Binary package hint: ecryptfs-utils

>From user feedback on the https://wiki.ubuntu.com/EncryptedPrivateDirectory wiki page...

 * "I hope there will also be an option for the ~/Private directory to ''not'' be mounted at login"

Additionally, it would be nice to allow a user to "not unmount" ~/Private automatically on logout.

The hooks are already in place in ecryptfs-setup-private to create the ~/.ecryptfs/auto-mount and ~/.ecryptfs/auto-umount files.  We simply need to teach pam_ecryptfs to respect that configuration.

:-Dustin



Follow ups