Francois Marier: Encrypting your home directory using LUKS on Debian/Ubuntu
Laptops are easily lost or stolen and in order to protect your emails, web passwords, encryption keys, etc., you should really think about encrypting (at least) your home directory.
If you happen to have /home on a separate partition already (/dev/hda5 in this example), then it's a really easy process:
If you happen to have /home on a separate partition already (/dev/hda5 in this example), then it's a really easy process:
- Copy your home directory to a temporary directory on a different partition:
mkdir /homebackup
cp -a /home/* /homebackup - Encrypt your home partition:
umount /home
cryptsetup -h sha256 -c aes-cbc-essiv:sha256 -s 256 luksFormat /dev/hda5
cryptsetup luksOpen /dev/hda5 chome
mkfs.ext3 -m 0 /dev/mapper/chome - Add this line to /etc/crypttab:
chome /dev/hda5 none luks,timeout=30
- Set the home partition to this in /etc/fstab:
/dev/mapper/chome /home ext3 nodev,nosuid,relatime 0 2
- Copy your home data back into the encrypted partition:
mount /home
cp -a /homebackup/* /home
rm -rf /homebackup









I'm excited by
One of the things I do when I’m at home is translating debconf templates into Galician.
With my server migration I switched from
There is an article on TechCrunch on
For a recent university seminar, I wrote a haskell program to render and edit 
There are obviously some things we need to remind if we don t want something like the OpenSSL debacle to happen again. It doesn t mean we need to throw stones nor to rush into changing our processes without thinking. However, there are already some things that should be obvious but unfortunately are not.
To follow this little