lpi2:cryptsetup-luks
Dies ist eine alte Version des Dokuments!
cryptsetup-luks
TODO: http://www.heise.de/security/artikel/Erfolgreicher-Angriff-auf-Linux-Verschluesselung-2072199.html beachten
Pakete
cryptsetup-luks
Partition oder logical volume anlegen:
lvcreate --size 1G --name lv_cryptsetup vg_centos6
Partition verschlüsseln:
cryptsetup luksFormat /dev/vg_centos6/lv_cryptsetup
Partition öffnen:
cryptsetup luksOpen /dev/vg_centos6/lv_cryptsetup crypt
Dateisystem anlegen und mounten:
mkfs.ext4 /dev/mapper/crypt mkdir /mnt/crypt mount /dev/mapper/crypt /mnt/crypt
Rebootfest machen:
umount /mnt/crypt cryptsetup luksClose crypt
/etc/crypttab :
crypt /dev/vg_centos6/lv_cryptsetup
lpi2/cryptsetup-luks.1389539180.txt.gz · Zuletzt geändert: 2014/01/12 15:06 von ingo_wichmann
