Encrypting a partition

Robert P. J. Day rpjday at crashcourse.ca
Mon Dec 24 11:24:43 UTC 2007


On Mon, 24 Dec 2007, Luciano Rocha wrote:

> On Mon, Dec 24, 2007 at 03:20:26PM +0530, Amitakhya Phukan wrote:
> > Hi all!
> >
> > I want to know how I can encrypt my /home partition which is inside a
> > Logical Volume to increase the security.
>
> Yes, make a backup of your /home, then format the partition with:
> 1. cryptsetup luksFormat /dev/volgroup/home
> 2. cryptsetup luksOpen /dev/volgroup/home chome
> 3. mke2fs -j -O dir_index -L /home /dev/mapper/chome
>
> Then add it to /etc/crypttab:
> chome /dev/volgroup/home none
>
> Then change /etc/fstab, the line that mounts /home, to mount from
> /dev/mapper/chome.

is there a guide somewhere to *all* of the solutions for encrypted
filesystems under fedora?  i haven't set one up for quite some time,
but i'd like to know what my options are.  for example, AIUI, there is
also the ecryptfs technique which is different from the above, yes?

how does it differ?  is one technologically superior to the other?
can this encryption be done in place on an unencrypted filesystem?
and can anyone stop the new england patriots juggernaut?  so many
questions ...

rday

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================




More information about the fedora-list mailing list