You are not logged in.

#1 2011-12-17 23:19:44

DasFox
Member
Registered: 2010-11-24
Posts: 107

Encrypting Swap - Can I Add to /mnt/etc/crypttab Like This?

I had another distro already running on the box that I encrypted the swap like this;

cryptsetup -c twofish-xts-essiv:sha256 -s 512 -y luksFormat /dev/sda3

So Can I add to  /mnt/etc/crypttab like this;?

echo swap /dev/sda3 SWAP "-c twofish-xts-essiv:sha256 -s 512" >> /mnt/etc/crypttab


THANKS


12 Year Linux Vet, Don't Let The Post Count Fool Ya! But Sure I Don't Know Everything, Who Does? That's Why I Ask. smile

Offline

Board footer

Powered by FluxBB