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 PROTECTED]> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]