57

I installed Ubuntu 12.04 a few days ago but strangely I seem to have skipped the part about choosing to encrypt home folder. Now if it is encrypted I do not know what is the encryption key. How do I check if it is really encrypted? (and also the swap partition).

Neptunno
  • 2,254
  • 5
  • 25
  • 41

2 Answers2

70

Open terminal and type ls -A /home. There should be a .ecryptfs folder, if you have encryption of your home folder.

19

This is how to check if swap partition is encrypted:

sudo blkid | grep swap

and should check for an output similar to

/dev/mapper/cryptswap1: UUID="95f3d64d-6c46-411f-92f7-867e92991fd0" TYPE="swap"

If instead of cryptswap1 there is something like a usual drive (e.g. /dev/sda4) then swap area is not encrypted.

Jorge Castro
  • 73,717
Neptunno
  • 2,254
  • 5
  • 25
  • 41