6 ms·
I don't have one of the new macbooks, but wouldn't making a wrapper around the macOS authorization services thing do this as well? Something like: osascript -
by bonyt 10y ago
I don't have one of the new macbooks, but wouldn't making a wrapper around the macOS authorization services thing do this as well?
Something like:
osascript -e "do shell script \"$*\" with administrator privileges"