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

Re: setuid installer?


  • Subject: Re: setuid installer?
  • From: Iceberg-Dev <email@hidden>
  • Date: Sat, 4 Apr 2009 01:46:13 +0200


On Apr 4, 2009, at 1:37 AM, Rick Mann wrote:


On Apr 3, 2009, at 15:55:58, Karl Kuehn wrote:

I don't know why the c program is not working, but in 10.5 Apple restricted setuid to only being available to compiled programs (ie: no scripts).

It occurs to me...how do pre- and post-flight scripts get to do privileged operations during installation? Or can they not?

They can. And to do this, the Installer.app application or the Install.frmework code uses the appropriate C API to execute an helper tool or script with privileges once they obtained them (through the Admin password dialog in the case of Installer.app)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >setuid installer? (From: Rick Mann <email@hidden>)
 >Re: setuid installer? (From: Karl Kuehn <email@hidden>)
 >Re: setuid installer? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: setuid installer?
  • Next by Date: Re: setuid installer?
  • Previous by thread: Re: setuid installer?
  • Next by thread: Pre/Post-installation action documentation?
  • Index(es):
    • Date
    • Thread