<html><head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head><body style="background-color: rgb(255, 255, 255); color: rgb(0,
0, 0);" text="#000000" bgcolor="#FFFFFF">
<blockquote style="border:
0px none;" cite="mid:D54D29FD-8CAA-4DCA-8B8C-0C08D9568055@apple.com"
type="cite"><div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px"><a
moz-do-not-send="true" href="mailto:eskimo1@apple.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Quinn "The Eskimo!"</a> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#9FA2A5"><span style="padding-left:6px">August
23, 2016 at 5:27 AM</span></font></div> </div></div>
<div style="color: rgb(136, 136, 136); margin-left: 24px;
margin-right: 24px;" __pbrmquotes="true" class="__pbConvBody"><div><!----><br>Its
sounds like you’re well on the way to a solution but I’m curious about
the above. In general the `UserName` property for a launchd daemon is
for role accounts. Putting a user account there is weird because what
user do specify? If there are two users simultaneously logged in (via
fast user switching, or truly simultaneously via screen sharing), surely
one of them has to miss out.<br></div></div></blockquote>
<br>
Each daemon is named after its user: com.qrecall.switchboard.501,
com.qrecall.switchboard.502, and so on. Each user connects only with its
switchboard, and that switchboard only manages endpoints belonging to
that
user.<br>
<br>
Again, the *only* reason this is installed as a system daemon is that I
have root processes (executed from another system daemon) that have to
connect with it, and the only mach services namespace that I can make
that work is the system's.<br>
<br>
James<br>
<br>
P.S. I would be nice if the UserName launchd property would also accept a
number and interpret it as a UID:
<key>UserName</key><integer>501</integer>.<br>
<br>
<br>
</body></html>