The computer lab is running 10.8. I would like to run a script when networked users login. As far as I can tell my choices are:
launchd agents - Not meant for this. On the launchd.plist man page it says "An agent launched by launchd SHOULD NOT do the following as a part of their startup initialization: Setup the working directory." That's basically what my script does.
login items - A number of posts indicate that they worked in 10.7 but don't work in 10.8
login hooks - This works but the "Customizing Login and Logout" on developer.apple.com says "There are numerous reasons to avoid using login and logout scripts: Login and logout scripts are a deprecated technology."
I don't want to use something that won't work tomorrow. I would like to do this the "right way" if there is one. Please advise. Thanks.