Results 1 to 6 of 6

Thread: Encrypt home folder after installation

  1. #1
    Join Date
    Jan 2009
    Beans
    8

    Encrypt home folder after installation

    Hi.

    I have just installed Ubuntu Jaunty (I do not like Karmic, please don't try to make me upgrade) and after installing all my programs I realized I did not encrypt my home directory.

    I know it's very simple to do this during the installation but I can't seem to find an option to do it after it.

    Is there a way to do this?

    Thanks in advance.

  2. #2
    Join Date
    Oct 2006
    Beans
    4,624
    Distro
    Kubuntu 15.04 Vivid Vervet

    Re: Encrypt home folder after installation

    Yes you can still do it without reinstalling.

    (carefully) follow these instructions
    http://blog.dustinkirkland.com/2009/...directory.html
    Blog | Ubuntu User #15350 | Zsh FTW | Ubuntu Security | Nothing to hide?
    AMD Phenom II X6 1075T @ 3GHz, Nvidia GTX 650, 8GB DDR3 RAM, 2 X 1TB, 1 X 3TB HDD
    Please don't request support via PM


  3. #3
    Join Date
    Aug 2007
    Location
    I live in the universe.
    Beans
    195
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Encrypt home folder after installation

    It seems ecryptfs needs free space 2.5X the size of home folder This means that the tool is of no use when you have ubuntu installed for a long time or your ubuntu partition is small. Is there any encrypt tool which need far less free space than that of ecryptfs?

  4. #4
    Join Date
    Oct 2006
    Beans
    4,624
    Distro
    Kubuntu 15.04 Vivid Vervet

    Re: Encrypt home folder after installation

    Quote Originally Posted by shankhs View Post
    It seems ecryptfs needs free space 2.5X the size of home folder This means that the tool is of no use when you have ubuntu installed for a long time or your ubuntu partition is small. Is there any encrypt tool which need far less free space than that of ecryptfs?
    No it doesn't. Where are you getting that information from?
    Blog | Ubuntu User #15350 | Zsh FTW | Ubuntu Security | Nothing to hide?
    AMD Phenom II X6 1075T @ 3GHz, Nvidia GTX 650, 8GB DDR3 RAM, 2 X 1TB, 1 X 3TB HDD
    Please don't request support via PM


  5. #5
    Join Date
    Jan 2007
    Location
    USA
    Beans
    260
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Encrypt home folder after installation

    I'm trying to use the command 'encryptfs-migrate-home -u -USER' to encrypt the /home partition of a ubunut 11.10 laptop.

    But I get error messages: 'cannot access /home/user .gvfs Permission denied'

    What is happening here?

  6. #6
    Join Date
    Feb 2011
    Beans
    10

    Re: Encrypt home folder after installation

    Quote Originally Posted by shankhs View Post
    It seems ecryptfs needs free space 2.5X the size of home folder This means that the tool is of no use when you have ubuntu installed for a long time or your ubuntu partition is small. Is there any encrypt tool which need far less free space than that of ecryptfs?
    This is because the instructions copy the data (with rsync) from your existing home directory instead of moving it. This is safer, but obviously resulting in double the required disk space.

    You can get around this you can do the following...


    1. Backup important large data to an external device (or two external devices to be safe) e.g. from your Documents, Videos, Music, .thunderbird and .mozilla directories.
    2. Delete the large data on your local drive
    3. Follow the instructions to set up the encrypted home directory
    4. Copy the large data back from your backup device to your new encrypted directory.
    5. Secure delete the data from your backup device(s), since there is probably a reason you wanted to encrypt the home directory!

    The "wipe" command can be used for secure delete. In fact, this should probably be used in place of the "rm" in the instructions too.
    Last edited by sblandford; June 14th, 2012 at 08:39 AM.

Tags for this Thread

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
  •