1 of 1 people found this helpful
sudo's asking for your password, and you're not giving it, so then you don't have rights. You need to use the Expect script here: http://www.droppedpackets.org/macintosh/push-to-macintosh/
The problem is permissions.
Your steps should look like this:1. Download the agent from the core server: curl -C - -O http://landesk/ldlogon/mac/Default%20MAC%20agent.pkg.zip
2. Unzip the file: unzip Default%20MAC%20agent.pkg.zip
3. Run: chmod -R 777 LDMSClient.pkg
4. Install the agent: sudo installer -pkg LDMSClient.pkg -target /
When I ran sudo installer .... it prompted for my password and I inserted it. I get the error after that.
Sorry, I thought you were doing this via script, not interactively. Anyway, Snowman's right, which is also in the script, which is also in DOC-2661.
Sweet, it was permissions...silly permissions. Thanks for the quick reponses.