How to prevent data leak from /tmp without ramfs or tmpfs?
System files unencrypted is OK. My concern is that data coming from my encrypted home, internet browsing, etc, eventually touches the disk unencrypted because is written to /tmp by some applications.
Constraints:
Full disk encryption is not a solution because unattended boot is important for me.
tmpfsorramfsare not solutions because I am short of RAM and sometimes my/tmpgets huge.
(I don't use swap. Short RAM is less bad than an old HD screaming while the user is desperate to actually use the computer.)
So, is there a simple way to configure automatic mounting of /tmp during boot in a way that files are written to the disk withoug leaving recoverable data after the computer is turned off?
Like ecryptfs with a random key for instance...
I'm using Ubuntu 10.10.