We are trying to have a simple drive mapping script start up for ALL users on a Mac Mini. What's the simplest way of going by doing this? I've tried creating a .plist in Lingon and adding it to the Library LauncherDaemons and LauncherAgents folders, but it's not starting up. Any ideas? Is there a way to do this in the Terminal? The script by itself works fine and works if we add it to the Startup Items in System Preferences, but we want this to be automatic and for all users.



Save a property list like this as /Library/LaunchAgents/test.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
<plist version="1.0">

It should be loaded automatically on the next login.

See man launchd, man launchctl, and man launchd.plist for more information.

  • That worked perfectly! So how would I call up a .app script with this? Would I just put the path in a new string? Thanks. EDIT: Actually, it looks like it only worked for the user that added it (I made sure to put it in the system library too). Very weird. – user1809994 Dec 10 '12 at 15:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .