Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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'm going to lend an old PC with dual boot (Ubuntu and Win XP) to a friend for few days. Ubuntu contains a lot of data that I want to keep confidential. I have protected my session with a strong password.

Is that enough to keep my data confidential?

I have heard that booting from a live CD can give access to the installed data; is that true?

share|improve this question

migrated from Aug 29 '11 at 22:37

This question came from our site for professional and enthusiast programmers.

up vote 8 down vote accepted

You are correct. Someone could still access your data through a livecd. You should take a look into encrypting your home directory. They ask you to do it when you install ubuntu but you can also do it after the fact. Here is some information to help you:

The information on that page is good for Ubuntu 8.10 and newer.

Basically you need to do this

1) Make sure you have ecryptfs-utils (sudo apt-get install ecryptfs-utils)

2) Add a new user with an encrypted home - (sudo adduser --encrypt-home)

If you have any more questions or run into problems just reply :)

share|improve this answer
Thank you, does the encryption prevent the execution of startup script ? – isoman Aug 31 '11 at 19:32

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.