Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Script Editor no longer asks for TouchID when running Apple Script with Admin Privileges

When running an AppleScript like

do shell script "sudo echo 'Hello'" with administrator privileges

I always have to enter my password and can't use TouchID.

I already edited pam.d/sudo and sudo_local to add

auth sufficient pam_tid.so

And while running the command directly from the Terminal does let me use TouchID, running it from Script Editor forces me to use my password.

The problem appeared with Sonoma. Any help is greatly appreciated

like image 896
Xehelios Avatar asked Oct 29 '25 01:10

Xehelios


1 Answers

Well, ultimately, I found out that if I run the same terminal command from Shortcuts, it triggers TouchID. So in a nutshell, it looks like Script Editor is done for, and it's really time to switch to Shortcuts.

like image 134
Xehelios Avatar answered Nov 01 '25 12:11

Xehelios



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!