• 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: Changing PPP settings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Changing PPP settings


  • Subject: RE: Changing PPP settings
  • From: Joe Kelly <email@hidden>
  • Date: Mon, 18 Feb 2002 14:02:41 -0800

You don't need to have root enabled for a tool to run with root privileges.
All you really need is an admin name and password, and a call to
AuthorizeExecuteWithPrivileges(). At one point or another, the program you
say mucks with PPP settings had to get an admin password; if it doesn't ask
for one each time, then it could be using a tool that's already setuid root
a+x (eg: ping).

Trust me when I say that SCF and MoreSCF just don't go very far without
first acquiring the correct privileges.

joe



>
> Thanks for the quick response.
>
> Let me illustrate the problem in a little more detail. A program
> automatically changes the PPP settings to something we don't
> want. In one
> instance, I can verify that this program did not have root
> access simply
> because root access was not enabled at all. I'm not quite
> clear how it's
> achieving this effect, but I do need to fix it.
>
> It seems strange that these settings can be changes (via the
> GUI) without
> root access, and yet in order to change them programmatically
> one needs root
> access---especially since this one application seems to be
> getting around
> all of that.
>
> Do you have any ideas on this?
>
> Thanks,
>
> Alastair Rampell
_______________________________________________
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.

  • Prev by Date: The unfamous PPP bug and moreSCF
  • Next by Date: oops, MoreNetworkSetup / helpers
  • Previous by thread: Re: Changing PPP settings
  • Next by thread: help: carbon do not support
  • Index(es):
    • Date
    • Thread