Tuesday, November 27, 2018

Un-encrypt Your $HOME


This is how I move my $HOME from encrypted to un-encrypted,  in order to be able to keep using Dropbox... Yes, in the end, choose to keep it.
Done this on all of my Linux Mint boxes that had an encrypted $HOME (still running an encrypted LVM, tho).
- Login as your regular user thru GUI.
- Disable Dropbox autostart.
- Logout.
- Drop to a TTY, login as the root user .
- Issue: umount /home/$USER
- Edit the text file "/home/.ecryptfs/$USER/.ecryptfs/Private.mnt".
Change "/home/$USER" to "/home/$USER/Private"
- Issue:

mkdir /home/$USER/Private
chown $USER:$USER /home/$USER/Private
chmod 0700 /home/$USER/

- Reboot
- Login regular user (TTY), issue:

  shopt -s dotglob
  mv Private/* .

Be sure there is enough free space on the disk.
I have run out of space on a couple of boxes, no sweat, simply delete the partial one, and then move once again.

- Login thru GUI and start Dropbox, it'll force a re-connect thru the webfront once again and then sync everything, but not a download.

Labels: , , , , , ,

0 Comments:

Post a Comment

<< Home