• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Another approach to root user?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Another approach to root user?
      • From: Ethan Funk <email@hidden>
References: 
 >Another approach to root user? (From: Ethan Funk <email@hidden>)

  • Prev by Date: Re: AU Views, 'thng' versus ComponentEntryPoint::Register
  • Next by Date: Re: Another approach to root user?
  • Previous by thread: Another approach to root user?
  • Next by thread: Re: Another approach to root user?
  • Index(es):
    • Date
    • Thread