• 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: Authorization once, and .dmg
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Authorization once, and .dmg


  • Subject: Re: Authorization once, and .dmg
  • From: Dave Camp <email@hidden>
  • Date: Wed, 16 Oct 2002 16:15:06 -0700

I suspect having to be able to run from media other than the users hard drive (and thus not retaining the suid bit) is going to be a very difficult problem to work around.

We have an app that changes network settings, and uses a suid tool to do that from the app bundle. But we have an installer install our stuff to the drive (which requires authentication) and the install process sets all the right permissions so the user is never prompted again.

Dave

On Wednesday, October 16, 2002, at 01:41 PM, Jen Beaven wrote:

I have an application that is supposed to run once, either from a CD or from a downloaded .dmg volume. It has to change the network settings. I'm sure others on this list have done this using MoreSCF and AuthSample, but how the heck do you distribute it?

I can't put the tool in the app as suid, because mounting the .dmg as an external drive loses the privileges. The tool can't self-repair for the same reason, and self-repair is kind of useless for a tool that will only be run once.

I suppose I can just use AEWP on the tool, but then the user will see the (helpfully not in focus) trampoline dialog, and have to enter a userid as well as a password. That seems to circumvent the whole "rights" process, anyway.

This is an app for people who are not expected to have to be able to use system preferences, so I can't go telling them to logon as root or authorize the disk or anything. It has to run once and just work. It's the counterpart of a PC app, and so the idea of typing in userid and password is _already_ making The Mac Way more complicated...

What's everyone else doing?
_______________________________________________
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.


---
In English, every word can be verbed.
_______________________________________________
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.

References: 
 >Authorization once, and .dmg (From: Jen Beaven <email@hidden>)

  • Prev by Date: Re:Authorization once, and .dmg
  • Next by Date: Re:Authorization once, and .dmg
  • Previous by thread: Re(2): Authorization once, and .dmg
  • Next by thread: OT use port under 1024 on OSX
  • Index(es):
    • Date
    • Thread