• 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: Running an application owned by a different user
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running an application owned by a different user


  • Subject: Re: Running an application owned by a different user
  • From: "Finlay Dobbie" <email@hidden>
  • Date: Sun, 9 Apr 2006 13:39:58 +0100

On 09/04/06, Uli Kusterer <email@hidden> wrote:
> Am 09.04.2006 um 08:20 schrieb Paul Forgey:
> > I'd use Authorization Services to become root, then suid to the
> > user you want to.  I'm not too familiar with the finer points of
> > Authorization Services, but I know it can spawn executables as root
> > after getting the credentials of a privileged user.  That
> > executable could be a resource in your bundle that calls suid () on
> > a desired user and then either exec's the program you want to run
> > or calls Launch Services to do it and then exit.
>
>   Just curious: Wouldn't that be even less safe? You need a root
> password instead of just the password of the user you want to become,
> after all?

You do not need "a root password" (that doesn't even make any sense,
there is only one root password) to gain root privileges through the
use of Authorization Services.

If you mean an admin password, then again, you don't necessarily need
an admin password to gain root privileges, if your application is set
up correctly.

 -- Finlay
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Running an application owned by a different user (From: Greg Herlihy <email@hidden>)
 >Re: Running an application owned by a different user (From: Paul Forgey <email@hidden>)
 >Re: Running an application owned by a different user (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Running an application owned by a different user
  • Next by Date: Re: Running an application owned by a different user
  • Previous by thread: Re: Running an application owned by a different user
  • Next by thread: Re: Running an application owned by a different user
  • Index(es):
    • Date
    • Thread