I know this is a rather strange question, but I actually need to implement something like this for work. I shall be helping to facilitate a course that uses licensed software. The software is somewhat expensive and allows only a limited number of concurrent installations, so what I'll do is to install one instance on an encrypted Virtual Disk with Ubuntu (or some other flavor of linux) installed. Just to lessen the chance of any unnecessary pirating from occurring, I intend to schedule (using cron) a self-destruct script to run immediately after the last day of the course. (Or at the latest, during the first instance of boot up after the last day.)
As much as I love freeware and open-source projects (and crowd sourcing in general), I also have a healthy respect for commercial software and the time and effort that the developers have put into coming up with a good product - I don't want to end up inadvertently contributing to the piracy of their blood, sweat, and tears.
Would appreciate any idea on how to implement this self destruct script on a Linux machine.
Thanks in advance! Plus points for simplicity and brevity of the script. :)