Re: Distributed objects: connecting to a process running as root?
Re: Distributed objects: connecting to a process running as root?
- Subject: Re: Distributed objects: connecting to a process running as root?
- From: James Bucanek <email@hidden>
- Date: Sun, 30 Apr 2006 15:34:39 -0700
Someone wrote privately on Sunday, April 30, 2006:
>I'm not sure, but IIRC, the problem is only when the server is
>launched on startup. It has to do something with the users' space,
>and that root has its own different space.
That's an excellent point.
>Did you try running your server at startup?
I just ran another experiment. I created a launchd .plist for my test server and started it using 'sudo launchctrl load ...'. The server was running as 'nobody'. My test client could connect, get the vended object, and execute code in the server.
I then restarted my computer, letting launchd start an instance of my server at boot time. I again ran my client and it had no problem connecting with the server.
To be thorough, I should probably repeat this experiment as a StartupItem in 10.3, but so far I'm not seeing any limitations -- at least not in 10.4 and launchd.
--
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