Re: Problems with Launchd Daemon
Re: Problems with Launchd Daemon
- Subject: Re: Problems with Launchd Daemon
- From: JanakiRam <email@hidden>
- Date: Tue, 29 Apr 2008 11:42:33 +0530
My daemon should run in log-off mode as well , hence starting with root
previlages.
UI is required only if the user has been logged-in.
JanakiRam.
On Tue, Apr 29, 2008 at 10:46 AM, Jens Alfke <email@hidden> wrote:
>
> On 28 Apr '08, at 9:52 PM, JanakiRam wrote:
>
> My Daemon will perform activity using Foundation Kit API. While it starts
> > the activity , i am opening the Appkit Window and updating the
> > progress.
> >
>
> If it only performs activity while a user is logged in, does it really
> need to run as root?
>
> In general, it's better to require the least amount of privilege. It would
> be better if your daemon ran as a per-user agent; the configuration is
> almost the same, except that the plist goes into /Library/LaunchAgents.
>
> —Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden