Changes

Jump to navigation Jump to search
Created page with "* First Backup ALL DATA of HOME to a external DISK, NAS or USB Stick! * Open a Console and Enter: * Install and load ecryptfs <pre> $ sudo apt-get install ecryptfs-utils $ sud..."
* First Backup ALL DATA of HOME to a external DISK, NAS or USB Stick!
* Open a Console and Enter:
* Install and load ecryptfs
<pre>
$ sudo apt-get install ecryptfs-utils
$ sudo modprobe ecryptfs
</pre>

Add permanent to System Kernel on Boot
<pre>
$ sudo nano /etc/modules #insert here the word "ecryptfs" without quotes
$ sudo update-initramfs -u -k all
</pre>

* Migrate User
<pre>
$sudo ecryptfs-migrate-home -u yourusername
</pre>
* Test Login as User!
* If successful remove old Data
<pre>
$sudo rm /home/username.XFSVDVSDV #where XFSVDVSDV is a random Value!
</pre>
* Encrypt SWAP
<pre>
$sudo apt-get install cryptsetup
$sudo ecryptfs-setup-swap
</pre>
Overnight overwrite ALL Free Space on the Disk, with create a File with zero's inside, overwrite and purge it on the End!
<pre>
$sudo dd if=/dev/null of=/zerofileplaceholder.img && rm -rf /zerofileplaceholder.img
</pre>
Remark:
* If Home is a own Disk/Partition set to "/home/zerofileplaceholder.img"

Navigation menu