• 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: script for system Authentication dialog box.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script for system Authentication dialog box.


  • Subject: Re: script for system Authentication dialog box.
  • From: "John C. Welch" <email@hidden>
  • Date: Wed, 20 Jul 2005 23:59:18 -0500
  • Thread-topic: script for system Authentication dialog box.

On 7/20/05 23:34, "Sander Tekelenburg" <email@hidden> wrote:

>> Authenticating (officially)
>> once gives you a five-minute window during which you will not need to
>> authenticate again.  For instance, try this:
>>
>>      set x to do shell script "whoami" with administrator privileges
>>      set y to do shell script "whoami" with administrator privileges
>>      {x, y}
>>
>> Notice that you only have to type in your password once.
>
> Indeed. Which is a surprise, given that I have set the gracetime to 0[*],
> which *does* do what I expect it to do in Terminal.app. Why would AS ignore
> the grace period?
>
>
> [*] by having Defaults:ALL timestamp_timeout=0 in /etc/sudoers

IIRC, this is using the auth frameworks, not sudoers

--
If you accidentally rear-end another car while driving, Florida law dictates
that you must stop and confer with the affected party. Turns out just waving
to let folks know you¹re alright while driving away is a little something
the state troopers like to call ³leaving the scene of an accident.²


 _______________________________________________
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: script for system Authentication dialog box.
      • From: Christopher Nebel <email@hidden>
    • Re: script for system Authentication dialog box.
      • From: Sander Tekelenburg <email@hidden>
References: 
 >Re: script for system Authentication dialog box. (From: Sander Tekelenburg <email@hidden>)

  • Prev by Date: Re: script for system Authentication dialog box.
  • Next by Date: Re: script for system Authentication dialog box.
  • Previous by thread: Re: script for system Authentication dialog box.
  • Next by thread: Re: script for system Authentication dialog box.
  • Index(es):
    • Date
    • Thread