RE: Authentication: Please critique my solution.
RE: Authentication: Please critique my solution.
- Subject: RE: Authentication: Please critique my solution.
- From: "Huyler, Christopher M" <email@hidden>
- Date: Fri, 10 Oct 2003 09:18:30 -0400
- Thread-topic: Authentication: Please critique my solution.
Thank you, this may actually solve my next problem which is a simple app
that creates a status icon with a pull down menu on the menu bar. I
want it to be launched like an app (from the Applications folder), but
it must be able to launch root-owned scripts w/o asking for a password
ever.
Your solution won't work for the preference pane. No matter who owns it
or where it is installed, it will not launch root-owned tools using
NSTask even though "System Preferences.app" is owned by root like you
said.
Is there a specific chown command you need to call for this to work? Or
does "chown -R root:admin my.app" work?
Thanks,
~ Chris
-----Original Message-----
From: Brad Peterson [
mailto:email@hidden]
Sent: Thursday, October 09, 2003 4:43 PM
To: Huyler, Christopher M
Subject: Re: Authentication: Please critique my solution.
>
Hi,
>
>
I don't know that I can comment directly on the security issue, but I
can
>
tell you
>
what has worked for me...
>
>
1. An installer that requires OS X admin rights to run. (Vise does
this, >and
>
I imagine Apple's tools do as well.)
>
2. A tool launched as part of the install that does a chown on the
various
>
apps that need
>
root permissions.
>
>
Any app can now launch the root-owned tools, and if they should ever be
>
moved, etc. the tool to re-authenticate them still exists on the user's
>
machine.
>
>
HTH,
>
>
Brad.
_______________________________________________
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.