Distributed objects: connecting to a process running as root?
Distributed objects: connecting to a process running as root?
- Subject: Distributed objects: connecting to a process running as root?
- From: James Bucanek <email@hidden>
- Date: Sat, 29 Apr 2006 10:59:14 -0700
I haven't found this documented anywhere. I remember it being discussed on the list, but never any definitive answer.
Can an application connect to a daemon using distributed objects via a named port if the application is running as the user and the daemon is running as root? I remember someone commenting that a user-level process can't connect with a root process using DO for "security reasons."
I'm writing an application that needs to communicate with a centralized scheduling/communications server. This must be run as a daemon since it needs to run all of the time, which means that it has to run as root since StartupItems and launchd have no concept of a "user level" daemon. If I can't communicate with the daemon using DO, I've got major design headaches ahead...
--
James Bucanek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden