• 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
Using a pre-existing username/password for authentication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using a pre-existing username/password for authentication


  • Subject: Using a pre-existing username/password for authentication
  • From: Paul Thompson <email@hidden>
  • Date: Tue, 30 May 2006 09:49:21 -0400

  Good morning everyone,

I'm not sure if this is the right list for this question, but here goes. Does anyone know if it's possible to use a pre-existing username and password to authenticate an AppleScript that requires admin authentication? My thinking is that if I create a second admin account on my local machine, and embed the username and password pieces of information within the script, I can get the script to self authenticate on the machine. I'm not sure if this would be best handled by putting an AppleScript in front of the existing AppleScript, or by using a combination of shell scripting and Automator. Is it possible to have self authenticating scripts on a local machine? Has anyone ever been able to do it?

  So, just so it's clear about what I'm trying to do, here it is.

I have a second admin username and password on the local machine. The non admin user launches an application that has the two variables of the second admin username and password stored in it. The app launches the AppleScript and takes the two variables and copies them to Name and Password fields in the dialogue box and then presses the "OK" (radio?) button so that the script is now authenticated and may run. Is this possible? Does anyone have any advice or pointers on where I could look to find information on this?

  Thank you in advance,

  Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Using a pre-existing username/password for authentication
      • From: Doug McNutt <email@hidden>
  • Prev by Date: Re: is QXPScriptingAdditions.osax not compatible with intel machine?
  • Next by Date: Re: Using a pre-existing username/password for authentication
  • Previous by thread: Re: is QXPScriptingAdditions.osax not compatible with intel machine?
  • Next by thread: Re: Using a pre-existing username/password for authentication
  • Index(es):
    • Date
    • Thread