Encrypt home directory? root + home + swap?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Encrypt home directory? root + home + swap?

Postby canam101 on Wed Oct 28, 2009 9:11 am

I have truecrypt working to encrypt files which I put into an encrypted container. Is it possible to use truecrypt, or some other encryption utility, to encrypt my home directory or even the root + home + swap partitions?

The only reference I see to it in truecrypt's help file is for windows, but I am hoping it is possible with mint as well.

If it is possible, is there a straightforward set of instructions to do this? I could create a container file and put anything into it, but how do I boot up, and decrypt the container, and make it usable as an OS? It's answers to these nitty-gritty details that seem to be hard to find.
canam101
Level 1
Level 1
 
Posts: 42
Joined: Sun Sep 27, 2009 5:50 pm

Linux Mint is funded by ads and donations.
 

Re: Encrypt home directory? root + home + swap?

Postby DrHu on Wed Oct 28, 2009 10:18 am

viewtopic.php?f=42&t=18743&p=111858&hilit=truecrypt+whole+disk#p111858

http://polishlinux.org/howtos/truecrypt-howto/

  • You really only need the /home directory (your data) encrypted
  • Swap is likely not even being used, as long as you have enough RAM (memory) for your normal application mix
    In a terminal, check
      free -m
      total used free shared buffers cached
      Mem: 1002 502 500 0 20 260
      -/+ buffers/cache: 222 780
      Swap: 2376 0 2376
      --the swap used here is 0, and the full size 2376 is still available
    You can always run Mint's system monitor
    mint menu>Favorites>System Monitor>Resources TAB
  • You don't have to encrypt the OS (/ root)
    --unless the applications you have installed are secret
User avatar
DrHu
Level 16
Level 16
 
Posts: 6895
Joined: Wed Jun 17, 2009 8:20 pm


Return to Newbie Questions

Who is online

Users browsing this forum: aaronson2012, Pastcal and 14 guests