On Thu, Oct 18, 2012 at 04:57:55PM +1300, Ryan McCoskrie wrote:
> On Thu, 18 Oct 2012 10:25:09 Steve Holdoway wrote:
> > Yup, for the first time EVER ( 29 years of adminstering *nix! ), I've
> > seen a server that has been
> > 
> >     rm -rf /'d
> > 
> 
> I haven't seen it personally, but I have read a story about someone's shell
> script periodically deleting $HOME/. (I can't remember why that was desirable)
> and then one day having it mistakenly run as root and it was on a machine 
> where ~root was set to / rather than /root.

Reminds me of this old chestnut from the `sudo install.sh` script for
the Bumblebee project for Optimus graphics switching on Linux (line 351):

https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/commit/a047b

Malc
_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to