Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

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 was marked as an exact duplicate of an existing question.

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.