Re: Switching net configurations
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.