How to stop admin password from popping up during a scripted install?
I'm deploying an app called Alertus to several hundred macs. None of the apps I've installed previously have ever asked for the administrator password during a scripted install. This one is and I'm trying to figure out why and how to stop it. Shouldn't KBOX be a special system user and be able to do everything without user interaction?
Its a .dmg made by the Alertus Deploy tool. Inside are the pkg, the config file and the logo.
Here is part of the script:
/usr/bin/hdiutil mount -nobrowse "$KBOX53PATH/alertusosx2924994.dmg"
/usr/sbin/installer -pkg /Volumes/alertusosx2924994/alertus-desktop-osx-220.127.116.114.pkg -target /
I know its writing to the Library folder in the Application Support folder and in the Preferences folder underneath. Symantec does the same thing. I think its at this point that its asking for the password so it can write itself in as a login item in the loginitems.plist file but I'm not sure.
Any suggestions are welcome!