• 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: NSOperation Issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOperation Issues


  • Subject: Re: NSOperation Issues
  • From: Varun Chandramohan <email@hidden>
  • Date: Fri, 04 Apr 2014 02:47:04 +0000
  • Thread-topic: NSOperation Issues

Hi Jens,

I understand what you mean, but are you saying that I should not use any Foundation library functions when running as root user? There are sometimes needs to have super user permission, how do we address that? I mean, lets say we need to add a rule in fw (ipfw) which requires to be root user right?

Regards,
Varun

From: Jens Alfke <email@hidden<mailto:email@hidden>>
Date: Friday, 4 April 2014 11:47 am
To: Development <email@hidden<mailto:email@hidden>>
Cc: "email@hidden<mailto:email@hidden>" <email@hidden<mailto:email@hidden>>
Subject: Re: NSOperation Issues


On Apr 3, 2014, at 4:11 PM, Varun Chandramohan <email@hidden<mailto:email@hidden>> wrote:

I suspect that NSOperationQueue cannot be used as daemon running as root user?

This isn't directly related to your question, but you almost certainly shouldn't be running your code as root. That's a bad security practice - it means that security problems in your code might be exploitable to take control of the entire OS. If your code shouldn't run as any specific user account, the usual approach is to create a special account for it.

-Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: NSOperation Issues
      • From: Jens Alfke <email@hidden>
References: 
 >NSOperation Issues (From: Varun Chandramohan <email@hidden>)
 >Re: NSOperation Issues (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: NSOperation Issues
  • Next by Date: Re: NSOperation Issues
  • Previous by thread: Re: NSOperation Issues
  • Next by thread: Re: NSOperation Issues
  • Index(es):
    • Date
    • Thread