• 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: AuthorizationExecuteWithoutPrivileges?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AuthorizationExecuteWithoutPrivileges?


  • Subject: Re: AuthorizationExecuteWithoutPrivileges?
  • From: Rishi Gupta <email@hidden>
  • Date: Mon, 12 Aug 2002 17:20:49 -0400

AFAIK all AuthorizationExecuteWithPrivileges does is run a specified process as root. It sounds like you want to run a process normally (ie: either as the logged in user, or as the file owner if the setuid bit is on).

So why couldn't you just use fork/exec? IMHO an AuthorizationExecuteWithoutPrivileges API would be a tad redundant, as you shouldn't need to use Authorization Services to run a process without any privileges. :-)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: AuthorizationExecuteWithoutPrivileges?
      • From: Gerben Wierda <email@hidden>
  • Prev by Date: Re: Drawing hidden NSWindow to NSImage then to a NSView
  • Next by Date: NSRulerView Follies Redux
  • Previous by thread: Re: AuthorizationExecuteWithoutPrivileges?
  • Next by thread: Re: AuthorizationExecuteWithoutPrivileges?
  • Index(es):
    • Date
    • Thread