launchd question

Christopher Hunt huntc at internode.on.net
Wed Feb 28 01:26:58 PST 2007


I've just made a discovery that I think is worth sharing.

Firstly I have a user that can administer the computer (user A) and  
one that can't (user B). If I issue a launchctl start from the  
command line for user A then the osascript -e <command> works! Of  
course this is not the case for user B.

However if I perform a "launchd bash", load the plists and the  
perform the launchctl start (all for user B)s then all is well!

I'm confused... if things work under launchd bash then why shouldn't  
they outside of that shell?

Cheers,
-C



More information about the MacOSX-admin mailing list