And even if it had worked, aren't you already breaking your first two rules? :)

The whole point was that I only realized these guidelines (maybe "rule of thumb" sounds too much like an edict to some people) after I was convinced that this person had just deleted their root filesystem.

Besides, your example wouldn't have worked. rm would have balked at the -c.

The -c was a switch to the adduser command, not to the rm command, if you reread the original code.

You're right, my whole post can probably be boiled down to "be careful." I didn't intend to say "never make a joke," I intended to say, "don't make a joke if you Know it may cause irreversible harm to someone." There are lines that can be drawn between acceptable and unacceptable behavior, though they aren't always very clear. I believe I may have crossed the line in this case.

Alan


In reply to Re: Re: "Don't try this at home" by ferrency
in thread "Don't try this at home" by ferrency

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.