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.

I reinstalled Ubuntu on a machine with encrypted home directories. After that installation I have edited the fstab to boot the old home partition in /home. After doing so I can not login anymore with LDM. If I type my password, witch is the same as before, after a short moment of activity I am referred back to login page. I think this is due to the fact, that my home directory is not decrypted correctly. But I read here that this should work. What am I supposed to do?

share|improve this question
add comment

1 Answer 1

I found the solution: You have to install first the package »ecryptfs-utils«. If you can't login to X, you can do this still by entering a console by typing Crt+Alt+F2, login there, and typ:

   sudo apt-get install ecryptfs-utils

After that you can perform the following command:

   sudo ecryptfs-recover-private

This tool will ask you whether or not you remember your password, if this be the case you can type it in and after that your home directory should work again.

share|improve this answer
    
This provides read only access to home but does not enable logging in. –  zorkerz Feb 14 '13 at 1:28
add comment

Your Answer

 
discard

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.