Script to self destruct a linux box...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux