There was an excellent thread on PerlMonks a few months back about a sysadmin messing with their users by making fake shells (check SuperSearch). My suggestion was to write something that made 1/10th of the presses of the 'W' key be eaten, so it didn't work all of the time. This would be really cool as it would be broken on *multiple* keyboards, and possibly you could do this to affect only certain IP's. For more fun, make random hits of the 'W' key print multiple 'W''s. This might be harder to implement than it looks, as you have to do a very good job of feeding the 'real' shell.

Be careful about your job, though!

Another one, oft thrown about is to change your user's favorite shell in /etc/passwd to /usr/bin/wumpus or maybe one of the famous 'Text Adventure Shells'.


In reply to Re: Perl pranks by flyingmoose
in thread Perl pranks by Trag

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.