|
|
Automate Mac Os X authentication when installing applications
|
|
|
|
Dedicated MacNNer
Join Date: Mar 2002
Status:
Offline
|
|
I install a lot of software. I'm continually prompted by Mac Os X for my password. Is there anyway of turning off this feature or of automating this ? Perhaps a 3rd party app would do it?
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status:
Offline
|
|
None that I know of, other than to launch the installers using sudo or to run as root.
|
"The natural progress of things is for liberty to yield and government to gain ground." TJ
|
|
|
|
|
|
|
|
Moderator
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
No, because if there were such a way, the whole system of authentications would be rendered useless.
I would recommend you create a local Applications directory in your home directory and copy your applications there.
|
I don't suffer from insanity, I enjoy every minute of it.
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
Originally Posted by OreoCookie
I would recommend you create a local Applications directory in your home directory and copy your applications there.
I don't get prompted for a password when copying applications to /Applications, because I run as an administrator. So copying into ~/Applications isn't going to make much difference there. I can only guess that the OP's problem is that he's installing software that is bundled as a package and installed by the system Software installation utility, which is prompting for a password.
Or maybe he's just not running as an admin user.
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Mar 2002
Status:
Offline
|
|
Thanks for the replies. I'm running as an admin.Security isn't the issue. The authenticate windows is provided by a an api call. I'm sure there must be an application out there that automatically fills dialog boxes and in this case will fill the password for me. It's just a matter of finding the application
(
Last edited by DevNine; Apr 2, 2007 at 05:48 AM.
)
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
This might be a stupid question, but: Why don't you stop installing software and start using what is already on your computer?
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Mar 2002
Status:
Offline
|
|
haha It's not easy when you have to work with new builds daily.
|
|
|
|
|
|
|
|
|
Moderator
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
Originally Posted by DevNine
Thanks for the replies. I'm running as an admin.Security isn't the issue. The authenticate windows is provided by a an api call. I'm sure there must be an application out there that automatically fills dialog boxes and in this case will fill the password for me. It's just a matter of finding the application
No, it's a matter of security. I haven't heard of such an app and I hope I never will. Otherwise OS X' security system would be compromised.
E. g. try copy 'n' paste of the password in the security dialog, it won't work (by design).
|
I don't suffer from insanity, I enjoy every minute of it.
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Mar 2002
Status:
Offline
|
|
I believe the security aspect is irrelevant. Imagine I wasn't talking about this particular dialog box. I want to script a response to a dialog box, that's all. Applications exist on windows that will do this and I'm pretty sure applescript will do it but what im looking for is a daemon that responds to this and automatically fills it in.
|
|
|
|
|
|
|
|
|
Moderator
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
I gave you the reason why you (probably) can't create such a dialog box: copying and pasting doesn't work with password boxes. They aren't regular dialogs in this respect. So even if there is such a software, it won't work with password (or other secure) dialogs.
|
I don't suffer from insanity, I enjoy every minute of it.
|
|
|
|
|
|
|
|
Senior User
Join Date: Mar 2007
Location: San Jose
Status:
Offline
|
|
This is one of the reasons why .dmg drag-n-drop installations are so much nicer than .pkg installations. Any way to convince your app author to use the former?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jun 2006
Status:
Offline
|
|
Originally Posted by mfbernstein
This is one of the reasons why .dmg drag-n-drop installations are so much nicer than .pkg installations. Any way to convince your app author to use the former?
The problem there is (for what ever reason) the app needs to put object in the ~/library folder or any other folder that requires a security prompt to install. While I agree with you that dragging/dropping is the way to go, I don't think in this day and age of complex software its going to happen.
|
Michael
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status:
Offline
|
|
Originally Posted by mac128k-1984
The problem there is (for what ever reason) the app needs to put object in the ~/library folder or any other folder that requires a security prompt to install. While I agree with you that dragging/dropping is the way to go, I don't think in this day and age of complex software its going to happen.
Uh, most software is in drag and drop .app form.
|
"The natural progress of things is for liberty to yield and government to gain ground." TJ
|
|
|
|
|
|
|
|
Senior User
Join Date: Mar 2007
Location: San Jose
Status:
Offline
|
|
Look at how an app like Firefox does it. Essentially, on first run, the app creates (or copies) the necessary files out of the bundle into the user's Library folder (for instance ~/Library/Application Support/Firefox). Unless this app needs to make changes at the system level, it should be able to get away with being copied to /Applications, and keeping it's modifications to users' home directories.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jun 2006
Status:
Offline
|
|
Originally Posted by Big Mac
Uh, most software is in drag and drop .app form.
Uhh, not all applications. Take, photoshop, or any of the adobe applications. A lot of Apple apps are not drag and drop either for that matter. A lot of utilities require installation too.
I'm not saying that install programs are the wave of the future but there is quite a few applications that use them over drag and drop.
|
Michael
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status:
Offline
|
|
An awful lot of those that are currently run through an installer shouldn't need to be, though. In many cases, it seems to me just bad design, or lazy porting.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jan 2001
Location: Saint-Jean-sur-Richelieu, Québec, Canada
Status:
Offline
|
|
Originally Posted by OreoCookie
I gave you the reason why you (probably) can't create such a dialog box: copying and pasting doesn't work with password boxes. They aren't regular dialogs in this respect. So even if there is such a software, it won't work with password (or other secure) dialogs.
I believe it does not work because that dialog does not run as your current user, and thus the paste board service is not available to it.
I might be wrong though.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|