Re: Launchctl question
Re: Launchctl question
- Subject: Re: Launchctl question
- From: Tim Murison <email@hidden>
- Date: Mon, 30 Mar 2009 17:13:11 -0400
- Thread-topic: Launchctl question
>>
http://developer.apple.com/DOCUMENTATION/DARWIN/Reference/ManPages/man1/launc>>
h
>> ctl.1.html
>
> Thanks, I've tried a few permutations of bsexec and it isn't really doing
> what I want. The process winds up running as root, and seems to have access
> to my logged in user's GUI.
>
> Am I doing something wrong?
Is the use of LAUNCHD_SOCKET supported? Doing something like this yields the
result I'm after:
sudo -u user bash -c 'LAUNCHD_SOCKET=my_sock launchctl load myproduct.plist'
***********************************************************************
This e-mail and its attachments are confidential, legally privileged, may be subject to copyright and sent solely for the attention of the addressee(s).
Any unauthorized use or disclosure is prohibited. Statements and opinions expressed in this e-mail may not represent those of Radialpoint.
Le contenu de ce courriel est confidentiel, privilégié et peut être soumis à des droits d'auteur. Il est envoyé à l'intention exclusive de son ou de ses
destinataires. Il est interdit de l'utiliser ou de le divulguer sans autorisation. Les opinions exprimées dans le présent courriel peuvent diverger de celles de Radialpoint.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden