Running a single thread as root...sort of.
Running a single thread as root...sort of.
- Subject: Running a single thread as root...sort of.
- From: "Huyler, Christopher M" <email@hidden>
- Date: Thu, 24 Jun 2004 12:00:00 -0400
- Thread-topic: Running a single thread as root...sort of.
I have read most of the documentation on creating setuid-root helper
tools but I would like to improve upon it by using Distributed Objects.
Here's my thought:
Create a helper tool in Cocoa that will authenticate and setuid-root
itself but it will stay up as a service until it is told to shutdown.
Then, once the user has authenticated, I can use Distributed Objects to
send commands to it, rather than relaunching the tool over and over
again. I have used Distributed Objects to create multiple threads in my
Preference Pane...basically I want a thread that is running as root.
Make sense?
Is this possible?
Has anyone done something similar?
Are there security issues with this approach I should be aware of?
Is there any sample code out there that could help me?
Thanks,
~ Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.