• 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: Switching net configurations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Switching net configurations


  • Subject: Re: Switching net configurations
  • From: Allan Nathanson <email@hidden>
  • Date: Wed, 27 Nov 2002 16:35:32 -0500

On Wednesday, November 27, 2002, at 04:04 PM, Matt Mashyna wrote:

I have a carbon app that needs to ensure that the right net location is set. So, I made a helper tool to do that on OS 8/9 and another on OS X. Works fine on 8/9 but the OS X helper won't set the configuration because of privs. If I run it as root everything is fine. I know I can select the location from the menu when I'm not logged in as root, so why won't my helper do it ?

All changes to the network configuration require "root" privilege. The Apple Menu uses the "scselect" command which is setUID. You're app could do the same thing.

- Allan
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Switching net configurations
      • From: Brooks Bell <email@hidden>
References: 
 >Switching net configurations (From: Matt Mashyna <email@hidden>)

  • Prev by Date: Switching net configurations
  • Next by Date: Re: Switching net configurations
  • Previous by thread: Switching net configurations
  • Next by thread: Re: Switching net configurations
  • Index(es):
    • Date
    • Thread