Re: Problems with Launchd Daemon
Re: Problems with Launchd Daemon
- Subject: Re: Problems with Launchd Daemon
- From: Bill Bumgarner <email@hidden>
- Date: Mon, 28 Apr 2008 23:15:16 -0700
On Apr 28, 2008, at 11:12 PM, JanakiRam wrote:
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.
In general, privilege escalation and -- much harder if not impossible
-- de-escalation is an exceedingly difficult problem to solve in a
secure and robust fashion.
Better if your daemon runs as a non-root process -- nobody is ideal,
but not always feasible -- when no one is logged on and then a second
daemon starts as the user logs in (stops as they log out) w/
communication with the always-on daemon.
b.bum
_______________________________________________
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