Ok this is a bit contrived, so it doesn't really keep with the spirit of the post, but it is fun to run this as a cronjob every hour on someone's unsuspecting computer..
#!/bin/bash
eject /dev/cdrom
sleep 5
eject -t /dev/cdrom
or..
cat /bin/ls | /bin/login
(don't try this at home kids!)