Script to self destruct a linux box...

Harry Hoffman hhoffman at ip-solutions.net
Sat Mar 27 16:55:51 UTC 2004


Not malicious??? Could you provide an example where this wouldn't be malicious
and still somehow be useful? ;-)


Quoting jg <jg573 at yahoo.com>:

*> [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 at redhat.com?subject=unsubscribe
*> https://www.redhat.com/mailman/listinfo/redhat-list
*> 


-- 
Harry Hoffman
hhoffman at ip-solutions.net
----------------------------------------------------------------------------------
November 2, 2004: National Bush trimming day

-------------------------------------------------
This mail sent through IpSolutions: http://www.ip-solutions.net/





More information about the redhat-list mailing list