Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: remove home dir encryption?

  1. #1
    Join Date
    Jan 2008
    Beans
    294

    remove home dir encryption?

    Buddy gave a box to my kids, I'm sharing it too. Normally do my own installs, so I'm sure his is different ...

    Basically, a while back I was prompted to write down an encryption key for my home dir. Did that, but now...

    Moving a buch of data (mp3 files) from one directory (my home) to another, on the same ext3 partition. Taking forever (2gb...) I'm assuming that it has to decrypt everything on the fly and then move the fs pointer. On unencrypted stuff on all of my other linux boxes (lots), a move to somewhere else on the same partition is instant.

    So... how can I remove (permamently) the encrypt home directory setting/option and permamently decrypt my home dir?

    Thanks!

  2. #2
    Join Date
    Aug 2005
    Beans
    4

    Re: remove home dir encryption?

    I'd like to know this too. Thanks!

  3. #3
    Join Date
    Jan 2008
    Beans
    294

    Re: remove home dir encryption?

    Never got a response, so I just reinstalled...

  4. #4

    Re: remove home dir encryption?

    I just created this forum user account to ask this very question:

    How to remove home dir encryption?

    I've used Debian for years, but brand new to Ubuntu (9.10). Any information greatly appreciated.

  5. #5
    Join Date
    Oct 2006
    Beans
    4,628
    Distro
    Kubuntu 18.10 Cosmic Cuttlefish

    Re: remove home dir encryption?

    Code:
    ecryptfs-setup-private --undo
    will tell you what you need to do.
    Blog | Ubuntu User #15350 | Zsh FTW | Ubuntu Security | Nothing to hide?
    AMD Phenom II X6 1075T @ 3GHz, Nvidia GTX 650, 8GB DDR3 RAM, 1 X 1TB, 2 X 3TB HDD
    Please don't request support via PM


  6. #6

    Re: remove home dir encryption?

    FuturePilot, thank you for your reply. That command is for removing the ~/.Private ecryptfs mounted directory. I would like to remove the encryption on my $HOME dir itself, which I (rashly) chose during install.

    One option may be to backup the home directory contents (in non-encrypted form), delete the user (and home dir), then create a new user without the encrypted home dir.

    Is that the only way?

  7. #7
    Join Date
    Oct 2006
    Beans
    4,628
    Distro
    Kubuntu 18.10 Cosmic Cuttlefish

    Re: remove home dir encryption?

    Quote Originally Posted by nyhm View Post
    FuturePilot, thank you for your reply. That command is for removing the ~/.Private ecryptfs mounted directory. I would like to remove the encryption on my $HOME dir itself, which I (rashly) chose during install.

    One option may be to backup the home directory contents (in non-encrypted form), delete the user (and home dir), then create a new user without the encrypted home dir.

    Is that the only way?
    It works the same way for an encrypted $HOME. Just apply the instructions but use your $HOME directory instead of Private.

    Basically, backup your data, unmount your encrypted home, make your home directory writable, and then delete /home/.ecryptfs/$USER (if you're the only user with an encrypted home, you can probably just delete the whole /home/.ecryptfs), restore your data back to /home/$USER.
    Blog | Ubuntu User #15350 | Zsh FTW | Ubuntu Security | Nothing to hide?
    AMD Phenom II X6 1075T @ 3GHz, Nvidia GTX 650, 8GB DDR3 RAM, 1 X 1TB, 2 X 3TB HDD
    Please don't request support via PM


  8. #8

    Re: remove home dir encryption?

    Oh, nice! Thanks for the clarification. I expected there to be something to configure with the login system. Does login simply skip the ecryptfs-mount step if there is no /home/.ecryptfs/$USER dir?
    Last edited by nyhm; December 8th, 2009 at 06:15 AM.

  9. #9
    Join Date
    Oct 2006
    Beans
    4,628
    Distro
    Kubuntu 18.10 Cosmic Cuttlefish

    Re: remove home dir encryption?

    Quote Originally Posted by nyhm View Post
    Oh, nice! Thanks for the clarification. I expected there to be something to configure with the login system. Does login simply skip the ecryptfs-mount step if there is no /home/.ecryptfs/$USER dir?
    Yes. You don't need to modify anything with the login system.
    Blog | Ubuntu User #15350 | Zsh FTW | Ubuntu Security | Nothing to hide?
    AMD Phenom II X6 1075T @ 3GHz, Nvidia GTX 650, 8GB DDR3 RAM, 1 X 1TB, 2 X 3TB HDD
    Please don't request support via PM


  10. #10
    Join Date
    Mar 2009
    Location
    USA
    Beans
    538

    Re: remove home dir encryption?

    Does anyone have a source of UPDATED documentation on ecryptfs only for 9.10? I'm finding all the old information confusing and actually quite dangerous since it doesn't always apply or isn't even always necessary to do what is suggested.

    I'd like to be able to read up on things, answer some of my own questions, and generally understand what is going on with the encryption more.

    Apologies for adding this to the thread but it is somewhat related (people ask these questions in part due to the lack of recent accessible documentation) and I didn't want to start yet another thread. Thanks.
    100% Microsoft Free Since April 2, 2009

Page 1 of 2 12 LastLast

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
  •