I need some help with a scenario.
I’ve created a simple input box that a user will enter his/her password. Getting that string, I want to compare it against the system administrator’s password box to validate a match as I’m trying to bypass the “with administrator” dialog box. However, I need administrator rights to delete certain root files. How do I do this validation? There must be an event fired by Applescript that determines if an administrator password is correct or not. Only, I want the text from the input box I created to validate against the administrator password.
Thanks and God bless.