• 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: Filevault and SUID Incompatibilities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filevault and SUID Incompatibilities


  • Subject: Re: Filevault and SUID Incompatibilities
  • From: Gregory Weston <email@hidden>
  • Date: Tue, 10 Apr 2007 16:23:38 -0400

Giovanni Donelli wrote:

I have a small helper program that needs SU privileges to do its
job. Since I don't want this tool to ask user authentication all the
time, upon install it sets it's SUID and change its user owner to
wheel:root so, when it executes, its effective user id is root.
...
Now everything works great on any OS X... except when FileVault is enabled.


On user accounts where FileVault is enabled, the effective user id is
the same as the current user. (ie. getuid() == geteuid() )
...
Does anybody have any clue why this could be happening? I can't really
think of anything.

Unfortunately, the answer is "that's the way FileVault works. As far as I know, the only way to make sure the UID override takes is to install the helper tool outside the home directory, like into / Library/Application Support.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Filevault and SUID Incompatibilities
      • From: "Giovanni Donelli" <email@hidden>
    • Re: Filevault and SUID Incompatibilities
      • From: Michael Watson <email@hidden>
  • Prev by Date: Tooltip font size again ...
  • Next by Date: Re: QTKit: handle movie playback progress
  • Previous by thread: Re: Filevault and SUID Incompatibilities
  • Next by thread: Re: Filevault and SUID Incompatibilities
  • Index(es):
    • Date
    • Thread