Re: script for system Authentication dialog box.
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