I have a problem with a helper implemented with SMAppService daemonServiceWithPlistName. The helper run a command line program that executes system(dscl . delete /Users/name_of_user)
Previously, this was implemented using AuthorizationExecuteWithPrivileges and it worked, from macOS Ventura start to show a dialog window "App would like to administer your computer. Administration can include modifying passwords, networking and system setting".
But with SMAppService there is no such dialog window and helper app just stuck.
I would like to know if this is a bug or correct behavior for a helper through SMAppService.
Thanks for the answer.
5
1
1.5k