Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
setuid installer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setuid installer?



We want to execute our updates in the background, but they require authentication. I've tried creating a script with setuid set, but the installer still complains that it needs to be authenticated. I then wrote a tiny C program that execs my script, and prints the effective user ID, but it still complains.

$ ./a.out
Real UID	= 501
Effective UID	= 0
Real GID	= 20
Effective GID	= 20
installer: This package requires authentication to install.


What am I doing wrong?

Thanks!

_______________________________________________
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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.