This post was spawned from my own misconception that my swap partition contained no sensitive data on systems with a lot of ram.
All of my systems I work with have atleast 4GB of ram, so my swap usage is usually under 2 megabytes. Why should I worry what’s in my swap partition?
Instead of going into it, just try it yourself. My swap partition is /dev/sda5. Run the command:
$ sudo strings /dev/sda5 | more
What came up was a ton of interesting data, from files I had looked at, print jobs, and bash scripts. So yes, even if you have enough ram, your swap is still very vulnerable to storing a lot of data about you.
Good news is Ubuntu 9.10 / Karmic will have the option to encrypt swap, which is on the wiki.







