Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Distributed objects: connecting to a process running as root?



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.