• 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: non-root app writing to root file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: non-root app writing to root file


  • Subject: Re: non-root app writing to root file
  • From: Finlay Dobbie <email@hidden>
  • Date: Sun, 25 Jul 2004 12:03:14 +0100

On 25 Jul 2004, at 07:06, Matt Jaffa wrote:

Well my SystemPreference is using sqlite to write to a database file stored in root owned folders, and editing a root owned sqlite db file, so I don't know how calling a tool with the authorization will be able to get that sqlite file to the tool to save it.

It calls a setuid tool which then has an euid of 0, then talks to it via some form of IPC and tells it what changes need to be made (and that the user is authorized to make), then the tool carries out the changes as root. It'd have to be the tool that manipulates the sqlite file.

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


References: 
 >non-root app writing to root file (From: Matt Jaffa <email@hidden>)
 >Re: non-root app writing to root file (From: Larry Fransson <email@hidden>)
 >Re: non-root app writing to root file (From: Matt Jaffa <email@hidden>)

  • Prev by Date: Re: non-root app writing to root file
  • Next by Date: What's with this "new"?
  • Previous by thread: Re: non-root app writing to root file
  • Next by thread: Re: non-root app writing to root file
  • Index(es):
    • Date
    • Thread