derflounder.wordpress.com
Running processes in OS X as the logged-in user from outside the user’s account
One challenge that can crop up for Mac admins is the problem of running a script or other tool with root privileges and using it to launch and run another tool, script or application as if the logg…