• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems with Launchd Daemon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Problems with Launchd Daemon (From: JanakiRam <email@hidden>)
 >Re: Problems with Launchd Daemon (From: Dave Camp <email@hidden>)
 >Re: Problems with Launchd Daemon (From: JanakiRam <email@hidden>)
 >Re: Problems with Launchd Daemon (From: Jens Alfke <email@hidden>)
 >Re: Problems with Launchd Daemon (From: JanakiRam <email@hidden>)

  • Prev by Date: Re: autosizing problem
  • Next by Date: Re: Deleting preference file from within the application
  • Previous by thread: Re: Problems with Launchd Daemon
  • Next by thread: NSTextField with NSLevelIndicator
  • Index(es):
    • Date
    • Thread