• 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: Sander Tekelenburg <email@hidden>
  • Date: Thu, 21 Jul 2005 06:34:21 +0200

At 12:52 -0700 UTC, on 2005/07/20, Christopher Nebel 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


--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
 _______________________________________________
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: "Matt Deatherage" <email@hidden>
    • Re: script for system Authentication dialog box.
      • From: "John C. Welch" <email@hidden>
References: 
 >script for system Authentication dialog box. (From: "selva.ganesan" <email@hidden>)
 >Re: script for system Authentication dialog box. (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Choose from list
  • 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