Probs with "BetterAuthorizationSample"-code
Probs with "BetterAuthorizationSample"-code
- Subject: Probs with "BetterAuthorizationSample"-code
- From: "Frank W. Tag" <email@hidden>
- Date: Sat, 3 Oct 2009 15:04:12 +0200
Dear all,
as a preface: Hopefully this is the right discussion group for my
question - otherwise I apologize for the inconveniance and would ask
you for a hint to the right one ...
I am trying around with the "BetterAuthorizationSample"-code to
perform privileged system calls in a mostly secure environment.
Everything seemed to work right after introducing the sample stuff to
my project but now I have some major problems that I cannot solve by
myself:
1. How can I debug my HelperTool? Obviously any breakpoints set in
XCode won't work because the HelperTool is launched outside by the
launchd.
2. My idea is to use asl to debug "barefoot". But for that I have to
install aeach time when I have compiled a modified version of the
HelperTool to the system. But how to do this? InstallerTool does not
do this itself.
3. How can I deinstall the whole stuff and reinstall it again? To be
more precise: I tried like described in 1. and 2. but now the whole
thing does not work proper. I removed my files from any place it was
stored by hand but the InstallerTool denied to re-install the
HelperTool. And the launchd throws every 10 seconds an error message
like "cannot start <HelperTool> ..." and so on. Than I copied the
HelperTool (with root:admin) to the dedicated folder but lanchd has
other probs. ... So my idea is to deinstall the whole stuff to clean
up and start again from 0.
Any ideas? I would be very grateful for any input ...
Best regards
Frank
_______________________________________________
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
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden