I installed safe-rm and configured it on two if my production servers. You can malke a mistake even manually if you want to say "rm -rf /foo/bar" but you hit an accidental space in the wrong spot: "rm -rf / foo/bar". Which is exactly what happened on a Linux server at a university back in 1998. We needed to full reinstall! I wasn't the culprit btw, and such destruction required root privileges. On Apr 16, 2016 6:44 AM, "andrew mcelroy" <[email protected]> wrote:
> Forgot to include the actual server fault thread where the 'mistake' > was documented. > > http://serverfault.com/questions/587102/monday-morning-mistake-sudo-rm-rf-no-preserve-root > > On Sat, Apr 16, 2016 at 8:43 AM, andrew mcelroy <[email protected]> > wrote: > > Another cautionary tale of rm gone wrong: > > > http://www.independent.co.uk/life-style/gadgets-and-tech/news/man-accidentally-deletes-his-entire-company-with-one-line-of-bad-code-a6984256.html > > > > I found this thread on reddit interesting: > > > https://www.reddit.com/r/linux/comments/4er8gk/man_accidentally_deletes_his_entire_company_with/d22mfgl > > > > Basically, it places sanity checks around the rm command. > > -- > -- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nlug-talk?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
