Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using XUbuntu 12.04 and I want to be sure my home directory is encrypted. I have .ecryptfs in my home directory and other positive signs of encryption and had selected it during installation. But When I boot up computer and login as root in the console 1 without logging into my actual account, and try cd /home/myusername/ I can see all the files? Is this correct behaviour since the home directory will be mounted only when I login as 'myusername' or does root has access to all encrypted home directories?

share|improve this question

Easy! Just use the ecryptfs-verify command.

For instance:

ecryptfs-verify -h

Full disclosure: I am the co-author and co-maintainer of eCryptfs, and happened to write the ecryptfs-verify tool, too ;-)

share|improve this answer
Wow...the moment when the author answers your doubt!! Thanks a lot! And another doubt, how difficult is it for someone to crack it? – MYNE Mar 27 '14 at 12:26

Your Answer


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.