Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to use encfs to create an encrypted folder but i do not want to automatically mount it when the user logs in. I'd like to type the password eachtime. How do i configure it to do that?

share|improve this question
up vote 1 down vote accepted

Use encfs normally.

encfs ~/.private ~/private

You only need special setup if you want automatic unlocking.

(By the way, kernel-mode eCryptFS usually offers better performance.)

share|improve this answer
i could swear it automatically mounts on logins.... maybe i was using su from root. But i could swear su from root made it not to do that. I'll accept when i can double check this – acidzombie24 Sep 26 '11 at 4:07
Check your PAM config - it could be that your distro automatically installs pam_encfs - but even then, it wouldn't automagically know the mount location.n't automagically know the mount location. – grawity Sep 26 '11 at 4:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.