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

encrypted swap



I added the following two lines to /etc/init.d/mountall.sh to give an 
encrypted swap device (and also set the swap device in /etc/fstab to 
be /dev/mapper/swap).

Is there any way we could have some generic encrypted swap support in Debian?  
Maybe a script that searches for the swap device in /etc/fstab and then runs 
cryptsetup, mkswap, and swapon?


cryptsetup -d /dev/random create swap /dev/hda1
mkswap /dev/mapper/swap

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page



Reply to: