Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

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).

share|improve this question

marked as duplicate by Eliah Kagan, Jorge Castro, Raja, Warren Hill, Kevin Bowen Jul 31 '13 at 17:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

related question -> askubuntu.com/questions/17216/… –  hhlp Jun 4 '12 at 20:56

2 Answers 2

up vote 14 down vote accepted

Check with ls -A /home. There should be a .ecryptfs folder, if you have encryption of your home folder.

share|improve this answer
Thanks. That's exactly what I needed. I do have .ecryptfs folder. So my home folder is encrypted. –  Neptunno Jun 4 '12 at 21:08
Also there is a related question regarding swap partition, askubuntu.com/questions/53242/check-if-partition-is-encrypted My swap is encrypted as well. –  Neptunno Jun 4 '12 at 21:09

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.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.