Script to self destruct a linux box...
jg
jg573 at yahoo.com
Sat Mar 27 00:04:01 UTC 2004
[1st off, my intentions are not malicious!]
I want to have a Linux (RH 9) sytstem automatically
rendered usless at a certain date or time.
I'd also like to wipe out /home, /usr, logs, etc...
And then reboot, but of course if things go ok, it
should be toast after the reboot.
I imagine I could create cron job that executes on
such & such day & does something like:
/bin/rm -rf /home
/bin/rm -rf /var
/bin/rm -rf /usr
/bin/rm -rf /boot
/sbin/init 0
Would that work?
Is there is a better way to do this.
Ideal setup will wipe the major useful parts of drive,
reboot the system & just hang, rendered useless.
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
More information about the redhat-list
mailing list