how to run my app in privileged mode
how to run my app in privileged mode
- Subject: how to run my app in privileged mode
- From: Nick Rogers <email@hidden>
- Date: Tue, 03 Jun 2008 18:37:05 +0530
Hi,
I wish to access disk sectors using open() and pread(). but it fails
for the system disk.
So how can I get the user to type in admin passwd and then run my app
in privileged mode.
Please point me to any sample code etc.
I tried ""BetterAuthorizationSample" code from apple, but using it to
access disk sectors is 10 times slower then open() and pread(), cause
it installs a helper tool in the system and to get sectors from it is
slow.
Wishes,
Nick
_______________________________________________
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