Startup item error for Kace agent on Macs
I am getting this error upon login on Macs in my environment:
------------------------------
insecure startup item disabled
/library/startupitems/ampagentbootup
------------------------------
I'm believing this message is caused by a permissions conflict between that file and the OS. Permissions are set to 775 on ampagentbootup, but per Apple, the OS demands 755. I have a couple of questions on that note:
1.) Does the agent provisioning from the K1000 automatically append those permissions after installation?
2.) I have been having unrelated issues with the agent provisioning on mac platforms (the kbox thinks the agent is already installed, when it is not. I'm addressing this issue with engineering currently).
That being said, I'm having to install manually on a large percentage of macs here. To do so, I'm copying the installer .pkg out via ARD, and running a sh script against it: sh -c 'KACE_SERVER=%Server Address% installer -pkg /tmp/AMPAgent.pkg -target /'
For this manual installation, will adding a chmod 755 to that file address this issue?
Thank you!
No CHMOD required. Here is our ARD script we used after we transmitted the DMG to the client machine.
sudo /Library/Application\ Support/Dell/KACE/bin/AMPTools stop
rm -rf /Library/Application\ Support/Dell/*
hdiutil attach /tmp/ampagent-5.4.10622.osx.all.dmg
sudo sh -c 'KACE_SERVER=<someKboxServerFQDN> installer -pkg /Volumes/Dell_KACE/AMPAgent.pkg -target /'
hdiutil detach '/Volumes/Dell_KACE'
/Library/Application\ Support/Dell/KACE/bin/AMPTools stop
/Library/Application\ Support/Dell/KACE/bin/AMPTools start
/Library/Application\ Support/Dell/KACE/bin/runkbot 2 0 - Jbr32 11 years ago