Re: Another approach to root user?
Re: Another approach to root user?
- Subject: Re: Another approach to root user?
- From: Shaun Wexler <email@hidden>
- Date: Mon, 27 Mar 2006 14:55:05 -0800
On Mar 26, 2006, at 3:04 PM, Ethan Funk wrote:
In reference to my previous email about the root user problems:
Maybe I should just run my program in a normal user space. If so I
need a way to keep a GUI logout or a fast users change from that
user from stopping my program or muting the audio. Is this a
possible solution to my problem?
User space means "not in the kernel". Your app^h^h^h daemon is
already running in user space. If it's launched by launchd as root,
then it's likely using the global bootstrap namespace and can't "see"
things in login sessions' bootstrap contexts, which are typically
owned by the window server. Maybe you'd better have a quick RTFM
about the subject:
<http://developer.apple.com/technotes/tn2005/tn2083.html>
You're taking the correct approach, except you can't use AppKit.
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden