Operating System - HP-UX
1752587 Members
4786 Online
108788 Solutions
New Discussion юеВ

Aprils Fools Day potential jokes!

 
SOLVED
Go to solution
Bill McNAMARA_1
Honored Contributor

Aprils Fools Day potential jokes!

Hey all,

Seeing as fools day is only a short time away, maybe a good time for backups!

I'm thinking of playing a joke on a buddy..

Print out a C64 screen and stick it on the server text term console!

Although it'd be much more elegant if I could change /etc/issue somehow to come up with it..

On that note, how is it possible to create nice reverse text and underline text in HP emulation. (escape codes?)

I saw a thread on this recently, but lost it.

Out for a pint, points on Monday!

Later,
Bill
It works for me (tm)
23 REPLIES 23
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Aprils Fools Day potential jokes!

tput smul (start undeline)
tput rmul (remove underline)
tput rev (reverse text)
tput (rmso) (remove standout - back to normal)
If it ain't broke, I can fix that.
Robert Gamble
Respected Contributor

Re: Aprils Fools Day potential jokes!

Ok, here is the kiddie stuff:

1) modify the 'friend's' .profile login script to include 'exit'

2) add an 'at' job to copy the 'funny' .profile back in later in the day

3) make sure you have a good backup copy of your own .profile !!

A. Clay Stephenson
Acclaimed Contributor

Re: Aprils Fools Day potential jokes!

Here's a heartstopper borrowed from the old fortune program.

In your victim's .profile,
echo "rm -r *"
sleep 30


You could install the old fortune program and edit the fortunes yourself. Then add fortune to each users .profile; in the original fortune there was an undocumented '-o' option that generated obscene fortunes.
If it ain't broke, I can fix that.
MANOJ SRIVASTAVA
Honored Contributor

Re: Aprils Fools Day potential jokes!

Bill

Change the Prompt to

ENTER YOUR PASSWORD ?


and set echo to off.


Manoj
H.Merijn Brand (procura
Honored Contributor

Re: Aprils Fools Day potential jokes!

If you still can NFS or rcp (be sure you can) give a sysadm a heartache and put "exit" as first statement in /etc/profile. See how soon the phone rings.
Enjoy, Have FUN! H.Merijn
H.Merijn Brand (procura
Honored Contributor

Re: Aprils Fools Day potential jokes!

Add another shell over the logon prompt that sais "Insert coin to operate" (guess, what: the password to continue is the word "coin")
Enjoy, Have FUN! H.Merijn
Holger Knoppik
Valued Contributor

Re: Aprils Fools Day potential jokes!

Hi Bill,

seems like the .profile is the favourite file here! OK, how about (again, the victim's profile) while true;do
cat /etc/copyright
sleep 3
done

or, do you know the root password of another server you don't have anything to do with?
Modify root's crontab. Tell the server to reboot every 30 minutes !

Have fun ...
RGDS, Holger
Live long and prosper!
George_Dodds
Honored Contributor

Re: Aprils Fools Day potential jokes!

Just tell them there's a full day's scheduled site power down, allways worth a laugh watching them flap about trying to find out who authorised it.

Twisted sense of humour! tee hee ;)

Cheers

George
Bernie Vande Griend
Respected Contributor

Re: Aprils Fools Day potential jokes!

The old trojen horse trick is fun too.
Just change their PATH to include a new directory and put some wrapper scripts for 'ls' or other programs to do some interesting things before actually doing the ls.
I like doing a random generator to echo things like: echo "ls? I'm tired right now, I'll get back to you in a minute. Sleep 60; ls;"
or echo "go list them yourself."
or echo "due to cutback's the budget, I can only list items from a-k" ls [a-k]*;

Those were the days when I had time to do this.
Ye who thinks he has a lot to say, probably shouldn't.