Results 1 to 2 of 2

Thread: Restoring ecryptfs home directory post passwd & system crash

  1. #1
    Join Date
    Jan 2013
    Beans
    1

    Question Restoring ecryptfs home directory post passwd & system crash

    Hi there,

    I'm running kubuntu 12.01 LTS with the 3.2.0-35-generic kernel, 64 bit system, and have set up my home directory to be encrypted during the set-up of the system.

    I have changed my login password using passwd from the command line, and I did not know then that I'd have to run ecryptfs-rewrap-passphrase (link). Unfortunately after changing the login password the system froze because of an other application, and I had to switch off the computer. The consequence is the usual that I cannot start my KDE desktop and the encrypted home folder is not mounted.

    After looking for a solution (link) I figured out that the files
    /home/.ecryptfs/$USER/.ecryptfs/wrapped-passphrase
    and
    /home/$USER/.ecryptfs/wrapped-passphrase
    are empty. Hence, the solution did not work.

    By now, I am at least able to mount my home directory following Recovering_Your_Data_Manually. So I could start copying my files around, but I'm afraid of running into trouble by wrong file attributes despite using cp -dpr ...

    So the question I have is: Is there a way to directly recover my home directory?

    Thanks,

    Tom

  2. #2
    Join Date
    Jun 2010
    Location
    ~
    Beans
    Hidden!

    Smile Re: Restoring ecryptfs home directory post passwd & system crash

    You might want to invest in a backup harddrive, cp your data over and then verify that it is okay (check whatever you think might have been altered). This way, if its not right you can always go back to the original.
    CADWEB Advance Toolkit Utility: http://cad.webatu.com/
    Homesite: http://digitalmagican.comze.com/

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •