Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Require Administrative Privileges" not delegating authentication #2

Closed
deadprogram opened this issue Aug 25, 2011 · 1 comment
Closed

Comments

@deadprogram
Copy link

Attempting to execute an osx installer from within a Platypus script like this:

installer -verbose -pkg "/Volumes/Qt 4.7.3/Qt.mpkg" -target /

returns the following:
installer: This package requires authentication to install

This happens even when "Require Administrative Privileges" is checked. It would appear that perhaps the authentication is not being delegated as expected by the STPrivilegedTask class.

Any suggestions?

@sveinbjornt
Copy link
Owner

STPrivilegedTask is working just fine. But it uses Apple's Security Framework, which in turn uses complex and not fully publicly documented privilege escalation. Not everything you could do as a sudo'd user seems to work. Yours is the latest of many such reports I've received over the years.

But as things stand, there is no other approved way of "running a tool as admin".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants