Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Authorization once, and .dmg



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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.