Retourner au contenu. Retourner à la navigation

 

The Linux File System Encryption API

by Zhibin @
Introduction to the encryption API of Linux system and how to use it.

Linux Kernel Management

Notes: For the users who already use the Linux kernel2.6 can jump to the step-2.

patch-cryptoloop-jari-2.4.22.0, or patch-cryptoloop-hvr-2.4.22.0

  • Step 1: Install the patch for Cryptoloop
#cd /usr/src/linux
#bzcat /home/download/patch-cryptoloop-hvr-2.4.22.0.bz2 | patch –p1 -E
  • Step 2: Configure the Linux kernel
#make menuconfig

or

#make xconfig

Notes:

In the section of [Block devices], make sure to active the modules for the loop devices and the Cryptoloop.

In the section of [Cryptographic options], make sure to active the crypto support: all the modules for all the encryption algorithms.

  • Step 3: If you do not use either the kernel version 2.6, or the version 2.4.22 with the support of loop devices, you must recompile your Linux kernel: use the following command:
#make bzImage

Then the system will be recompiled from your kernel source and your kernel configuration.

  • Step 4: Compile the module to get the “loop.o”, and then install the modules.
#make modules
#make modules_install

Notes: remember to reboot your system after each time you do the changes to the kernel.

  • Step 5: Add the modules support to the kernel, in the system memory:
#modprobe loop
#modprobe Cryptoloop

Notes: if this operation failed, try to do it again from step3, and check your kernel configuration again, and this may happen.

Par XI ZHIBIN Dernière modification 03/09/2007 15:31
Navigation
Actualités
15/09/2008 Sortie de la version VLC 0.9.2
23/06/2008 Opération du libre à Nantes !
23/06/2008 OpenSuse 11
18/06/2008 Firefox 3 !
09/06/2008 Linux Pratique Essentiel
Plus d'actualités...
Articles
22/05/2008 Première approche de Qmail
19/05/2008 Test de la distribution Elive 1.0 Gem
14/05/2008 GNUPG introduction à la cryptographie et utilisation de GnuPG
21/02/2008 GNU / Screen
03/09/2007 The Linux File System Encryption API
More articles
Tips
28/04/2008 Mozilla Firefox : Google Talk et Facebook Chat
22/04/2008 Sed : Rechercher du texte entre deux chaines de caractères
04/04/2008 Gérer son(ses) écran(s) avec xrandr
26/03/2008 Tips sur l'historique de vos commandes
13/02/2008 Linux-Unix Cheat Sheets
More tips
Codes
09/04/2008 Chapitre 13 - Administration DNS et DHCP
09/04/2008 Chapitre 06 - Service web avec Apache
04/04/2008 Chapitre 09 - PureFTPd
04/04/2008 Chapitre 06 - Scripting Bash
01/04/2008 Chapitre 20 - Haute Disponibilité
More codes
Courses
13/09/2006 Module 3
23/02/2006 Module 2
23/02/2006 Module 1
More courses
Formation Linux

Supinfo Training Center has the first Linux Certification. The training is 13 days and allow you to pass the LPI 101 and 102.

more info
 
 
Vous êtes ici :
Articles The Linux File System Encryption API Linux Kernel Management