Re: change from fixed LUKS w/password to random encryption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



*Ross Boylan* wrote:

> What do I need to do?

Let's assume that /dev/hda5 is the physical partition and
/dev/mapper/hda5_crypt is encrypted partition to be use for swap.

I will follow these steps:
1) umount swap with
# swapoff /dev/mapper/hda5_crypt
2) close partion
# cryptsetup luksClose hda5_crypt
3) modify /etc/crypttab
hda5_crypt /dev/hda5 /dev/random
cipher=cipher=aes-cbc-essiv:sha256,size=128,swap
(single line!)
4) modify /etc/fstab
/dev/mapper/hda5_crypt none swap sw 0 0
5) reboot

-- 
Lurkos


---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux