Re: setuid installer?
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