Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
related question -> askubuntu.com/questions/17216/… – hhlp Jun 4 '12 at 20:56

2 Answers

up vote 5 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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