I have a shell script (asr restore) in my applescript that takes a while to run. Later in the script, I have another function that is used ‘with administrator privileges’. My script asks for name and pw a second time as it was longer that the timeout (5 minutes?).
What do people do to avoid that? Prompt for name & pw, and store it in a variable for later use?