-
Senior Member
registered user
Re: encrypting SWAP by default
--One way to do this is disable all type 82 partitions (swap) and comment them in /etc/fstab.
--Then create an encrypted filesystem, and also create a swapfile on that FS after mounting it:
[ insert cryptoloop instructions here ]
' mount blah /mnt/encrypted -odefaults,rw,noatime '
' cd /mnt/encrypted '
' time dd if=/dev/zero of=swapcrypt.swp bs=1M count=64 ' == Create 64MB zero-file
' chmod 700 swapcrypt.swp ' == Make sure only root can read it
' mkswap swapcrypt.swp ' == Make it into a swap area
' swapon swapcrypt.swp ' == Activate it
' swapon -s ' == Check it
--That said, see these links:
( Search for " Debian " on this page )
http://wiki.noreply.org/noreply/TheO...tionalSecurity
http://www.ussg.iu.edu/hypermail/lin...08.0/1163.html
http://linuxfromscratch.org/pipermai...ch/002819.html
http://www.gentoo.org/proj/en/harden...yptography.xml
--I'm pretty sure OpenBSD has encrypted swap, if not by default then at least as an option.

Originally Posted by
g4j
I see that some time ago someone released a version of Knoppix 3.2 that would among other things encrypt the swap drive (
http://www.bouissou.net/knoppix-mib/...oppix-Mib.html). In the current verson of knoppix, is there an easy way to do this? I use an encrypted persistent home on a USB stick, but when I'm running on any box that has a swap partition, I know I'm leaving clear-text data behind.
Thanks
Similar Threads
-
By A. Jorge Garcia in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 06-19-2007, 06:26 PM
-
By Kowood in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 04-14-2005, 07:57 PM
-
By jj54 in forum General Support
Replies: 1
Last Post: 11-09-2004, 08:16 PM
-
By sirmax in forum General Support
Replies: 7
Last Post: 04-10-2003, 11:21 PM
-
By CubeDweller in forum General Support
Replies: 6
Last Post: 03-26-2003, 08:09 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Polycom VVX 411 12-Lines Desktop VoIP Phone (2200-48450-025)
$20.00

NEW Cisco IP Phone 7841-K9 4-Line VoIP Gigabit PoE CP-7841-K9
$49.95

Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked)
$17.99

Grandstream WP810 Portable Cordless Wi-Fi IP Phone
$54.99

Cisco / Linksys SPA2102 VoIP 2FXS Phone Adapter with Router (unlocked)
$18.99

Lot Of 16: Polycom VVX 501 VoIP Touchscreen Desktop Phone W/Handsets & Stands
$150.00

Poly Edge E500 12-Line Corded IP VoIP Phone w/ PoE, Black/Silver
$120.00

Verizon Yealink SIP-T54W IP Phone Gigabit WiFi Bluetooth VoIP Excellent Tested
$37.99

Yealink MP54 - VoIP Phone - Black Teams phone Android POE WIFI Bluetooth
$49.95

Grandstream HT801 v2 1 FXS, 1 Fast Ethernet New Version
$34.99