Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
Securely automount encrypted drive at user login

I finally managed to figure out how to mount an ecryptfs encrypted directory (my old home directory)

I would like to have it mounted automatically when I login, the same way my home directory gets mounted.

share|improve this question

marked as duplicate by Eliah Kagan, fossfreedom Feb 2 '13 at 10:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

Add the device to /etc/fstab

It should resemble something like:

/dev/mapper/crypto_test /mnt/crypto_test ext4 defaults 0 2

share|improve this answer
    
How does the passphrase go in there? –  rausch Apr 24 '11 at 19:36
1  
-1 this isn't automatic. –  Tom Brossman Feb 13 '12 at 12:42

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