How to stop making use of constructed - in residence directory site encryption?

I have a new Ubuntu 10.04 installment with encrypted residence directory site (making use of the constructed - in encryption supplied by Ubuntu installer).

What is the most convenient means to stop making use of encryption? (I.e., to decrypt my residence directory site completely.)

(It is offering me troubles with bit updates, and also I would certainly similar to to lower all the problem I'm having with this installment.)

0
2019-05-13 03:56:11
Source Share
Answers: 3

Here you are, wish this aids (see ecryptfs-setup-private(1)) :

$ ecryptfs-setup-private --undo

The result cases :

In the occasion that you intend to remove your eCryptfs Private Directory arrangement, you will certainly require to really meticulously execute the adhering to activities by hand :

  1. Obtain your Private directory site mountpoint

    $ PRIVATE=`cat ~/.ecryptfs/Private.mnt 2>/dev/null || echo $HOME/Private`
    
  2. Ensure that you have actually relocated all pertinent information out of your $PRIVATE directory site

  3. Unmount your encrypted exclusive directory site

    $ ecryptfs-umount-private
    
  4. Make your Private directory site writable once more

    $ chmod 700 $PRIVATE
    
  5. Remove $PRIVATE, ~/.Private, ~/.ecryptfs

    Note : THIS IS VERY PERMANENT, BE VERY CAREFUL

    $ rm -rf $PRIVATE ~/.Private ~/.ecryptfs
    
  6. Uninstall the energies (this specifies to your Linux circulation)

    $ sudo apt-get remove ecryptfs-utils libecryptfs0
    
0
2019-12-01 23:44:41
Source

1st point to do: BACKUP YOUR HOME I can not claim it louder ... primarily ruin encryption amounts resetting (rm -rf) your residence, which remains in reality concealed by a mount.

Second action: log out of any kind of desktop computer supervisor and also most likely to a digital console (CTRL-ALT-F1)

Finally: for information:

ecryptfs-setup-private --undo

In the occasion that you intend to remove your eCryptfs Private Directory arrangement, you will certainly require to really meticulously execute the adhering to activities by hand:

  1. Obtain your Private directory site mountpoint PRIVATE= cat ~/.ecryptfs/Private.mnt 2>/dev/null || echo $HOME/Private

  2. Ensure that you have actually relocated all pertinent information out of your $PRIVATE directory site

  3. Unmount your encrypted exclusive directory site

    ecryptfs-umount-private
    
  4. Make your Private directory site writable once more

    chmod 700 $PRIVATE
    
  5. Remove $PRIVATE, ~/.Private, ~/.ecryptfs Keep in mind: THIS IS VERY PERMANENT, BE VERY CAREFUL

      rm -rf $PRIVATE ~/.Private ~/.ecryptfs
    
  6. Uninstall the energies

     sudo apt-get remove ecryptfs-utils libecryptfs0
    

I would certainly claim action 5 is a little bit incorrect: there is no demand to delete $PRIVATE, which was for me my residence

After .Private and also .ecryptfs removal, simply recover your residence: ]

0
2019-05-30 22:04:28
Source

Googling about, I located this post:

Not to raise an old string yet in instance any person has mistakes attempting to adhere to these guidelines, below is what I did.

  1. Back-up the residence directory site while you are visited sudo cp -rp /home/user /home/user.backup

1.1. Examine that your residence back-up has every little thing!!!

  • reboot right into origin using grub
  • Delete your residence directory site rm -rf /home/user
  • Remove the plans apt-get remove ecryptfs-utils libecryptfs0
  • Restore your residence directory site mv /home/user.backup /home/user
  • reboot
  • Remove any one of those .Private .ecryptfs folders rm -rf ~/.Private rm -rf ~/.ecryptfs
  • Yay!
  • This benefited me. Residence folder documents approvals remain undamaged and also does not bugger up Dropbox or git repos. Some factor my fresh install on Ubuntu 9.10 would certainly refrain the first command. Simply see to it you assume the procedure via when making use of rm -rf. Simply intended to upload this not just for my document, yet any person else that runs into troubles.

    Some notes

    • reboot right into origin using grub was a little bit vague to me ; I really did not reboot, simply switched over to making use of origin (an additional customer account with sudo advantages would certainly function just as well).
    • Prior to getting rid of the plans ecryptfs-utils and also libecryptfs0 would certainly function, I required to remove /home/.ecryptfs/<myusername>. (It whined that ecryptfs-utils remained in usage.)

    Apart from that, this benefited me. It is much from straightforward however, so do not hesitate to upload far better remedies!

    0
    2019-05-17 15:28:04
    Source