|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
I've manually modded /etc/authorization to add in a new rule and it all (now) works great but really this process needs to be automated.
This doesn't appear to be covered in the documentation - there is the AuthorizationRightSet() function but I haven't managed to succeed in getting it to add in my right, and anyway it is for 10.3 only and my app needs to run on 10.2 as well.
So my current plan is this: extend my authorised tool which runs SUID to root to support reading the XML file contents into a CFDictionary, insertint the extra dictionary entry for my app, and writing the XML back out again.
Is this a bad idea and/or is there a better way?
_______________________________________________ Do not post admin requests to the list. They will be ignored. Apple-cdsa mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.