Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Tanj

macrumors newbie
Original poster
Jan 27, 2009
21
0
On windows it was easy to find startup.exe and set it as a login item so the computer would shutdown on startup.

Well I have a computer illiterate friend who has a Mac and I wanted to pull this April fools day prank on them.

I've been looking up python and bash commands for an hour or so trying to create a "Run Shell command" workflow, then run the workflow on start up. Problem is the code doesn't work, or when you run the workflow it doesn't actually cause a system shutdown.

Is there an easier way to do this? I've looked through System>Library for anything similar to shutdown.exe and can't find anything.

Could I run boot.efi or bootX on startup to create a login loop or something?

Suggestions appreciated!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.