A friend of mine and I were recently in an Apple Server class. In the course of the class every student is required to set up their server and client using the same username and password. With this little bit of information, the username and password, you can wreak havoc (in a non-destructive way) on your friends computer.
Open Terminal. Just about everything you need to be able to do is from within terminal. The commands are as simple as copying and pasting.
First, SSH into that person’s computer using their sharing name or IP address.
We’re not going to cover how to SSH, it’s very easy, and Google is your friend.
Fun with Sound
sudo osascript -e "set volume 100"
Speech and beeps are made even better with the volume at 100%! So turn that volume up and make them beep and speak!
Fun with Speech
sudo osascript -e 'say "Assistant to the Regional Manager" using "Zarvox"'
Of course this is only funny if you know Dwight Schrute. Creativity is crucial with the speech commands.
Fun with Applications
sudo open /Applications/*
This is my favorite. This command will open every application in the remote users /Applications folder. Pretty funny watching the dock go crazy up and down. For a sample you can try it on your own computer.
Fun with Power
sudo osascript -e 'tell app "Finder" to sleep'
This will force the computer into sleep mode immediately. Combine this with a Speech of “You’ve been owned” for the win.
Fun with a combination of commands
I know my favorite is to open all applications at once, but this is a close second. You’ll want to run these commands about 1 second apart.
osascript -e 'tell application "Finder" to display dialog "System Error 0x0FE: Radiation leak detected. Computer will self destruct in 10 seconds"'
The copy and paste this 10 times, one second apart:
sudo osascript -e "beep"
Not so fun
rm -rf /
Warning!: This command will remove every file on the hard drive. Not so funny on a remote computer. Especially funny for me if you’ve SSH’ed into 127.0.0.1. Keep in mind, this will in fact delete every file on your computer. You’ve been warned!
There you have it. Now all you need is that admin password…
View more Terminal Tips.