This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 9th, 2012  |  syntax: None  |  size: 1.28 KB  |  views: 53  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. I'd try:
  3.  
  4. ecryptfs-setup-private --undo
  5. But other user suggest a longer method:
  6.  
  7. 1st thing to do : BACKUP YOUR HOME I can't say it louder... basically undoing encryption is equivalent to resetting (rm -rf) your home, which is in fact hidden by a mount.
  8.  
  9. 2nd step : log out of any desktop manager and go to a virtual console (CTRL-ALT-F1) Finally : for details :
  10.  
  11. ecryptfs-setup-private --undo
  12. In the event that you want to remove your eCryptfs Private Directory setup, you will need to very carefully perform the following actions manually:
  13.  
  14. Obtain your Private directory mountpoint
  15.  
  16. PRIVATE=cat ~/.ecryptfs/Private.mnt 2>/dev/null || echo $HOME/Private
  17.  
  18. Ensure that you have moved all relevant data out of your $PRIVATE directory
  19.  
  20. Unmount your encrypted private directory
  21.  
  22. ecryptfs-umount-private
  23.  
  24. Make your Private directory writable again
  25.  
  26. chmod 700 $PRIVATE
  27.  
  28. Remove $PRIVATE, ~/.Private, ~/.ecryptfs Note: THIS IS VERY PERMANENT, BE VERY CAREFUL
  29.  
  30. rm -rf $PRIVATE ~/.Private ~/.ecryptfs
  31.  
  32. Uninstall the utilities (this is specific to your Linux distribution)
  33.  
  34. sudo apt-get remove ecryptfs-utils libecryptfs0
  35.  
  36. I would say step 5 is a bit wrong : there's no need to delete $PRIVATE, which was for me my home....
  37.  
  38. After .Private and .ecryptfs deletion, just restore your home :]
clone this paste RAW Paste Data