How to have fun with your Linux server

Posted on Wednesday, June 17th, 2009 under , ,

I’ve found a great way to have fun with your linux server. First of all, install cowsay. If you use Ubuntu server or Debian, you can use apt-get install it:

sudo apt-get install cowsay

Now, you have to wait for another user to connect to the server via ssh. You can use the who command to see who is logged in. With two open terminals on my Ubuntu box, who’s output looks something like this.

tudor@thor:~$ who
tudor    tty7         2009-06-17 20:31 (:0)
tudor    pts/0        2009-06-17 20:36 (:0.0)
tudor    pts/2        2009-06-17 22:21 (:0.0)

Let’s assume that the victim is the one using the first terminal, pts/0. Now, all you have to do is punch the following like in your terminal:

cowsay -f tux "I see you" > /dev/pts/0

…and his terminal will look like this:

tux

Doesn’t this make you feel better about yourself?

Later edit: the party continues here!

Related posts

7 Responses to “How to have fun with your Linux server”

  1. Tudor

    PS: this requires root level access :P

  2. Radu

    This is something that clearly can be categorized as BOFH! :D

  3. • Raul •

    Niiiiiiiiice! ;) ) :D

  4. cowcant root

    I can do both cowsay and fortune as a ‘user’ but not as ‘root’. Both were installed via root apt-get install cowsay fortune

    But when trying either cmd as root I get:
    -bash: cowsay: command not found
    -bash: fortune: command not found

    any ideas?

    Thank you!

  5. Tudor

    What distro are you using?

  6. cowcant root

    Oops my bad Tudor, I see you looking at me like that lol…
    Linux Debian 5.0.1 Lenny

  7. Tudor

    Did you “sudo apt-get install” them?

Leave a Reply