I am using AuthorizationExecuteWithPrivileges to run a shell script
which needs root privileges. I can execute the shell scripts as a
local user, but can't run scripts which need root privileges.
I read through many doc's on the net and the guides in
developer.apple.com since yesterday, and haven't found an answer yet.
You have created an empty AuthorizationRef structure without getting
any authorization data or actually authorizing the operation. Look at
the "Authorization Services C Reference" or "Performing Privileged
Operations With Authorization Services" documents on how to do this.
Brian
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com