Mcafee agent on Mac OSX
Hi,
Has anyone gotten McAfee Agent (epolicy) to deploy on a Mac OSX. I've tried repackaging it in composer. Running the sh script from a kscript, running the shell script as an online script but I can't seem to get it to work.
Thanks,
Mike
Answers (2)
I've figured out how to get McAfee Agent working on a Mac OSX and thought I'd share it.
There's two scripts:
Script 1:
1) Create a script, add the dependency file which contains a zipped version of mcafee agent (install.sh)
-The install.sh contains zip data itself, so I wanted to avoid corrupting the file and felt it was best to zip it.
2) The script should unzip the dependecy file ($(KACE_DEPENDENCY_DIR)/install.zip to stanard location such as /library or /application
Script 2:
1) Create a online shell script it should contain:
chmod +x /directory of the unzipped/install.sh
exec directory of the unzipped file/install.sh -i
Now you must run script 1) before script 2) but when script 2 runs it will either install correctly or send back the mcafee error codes. If you receive error code 126 it means that the file could not be found and that the first script wasn't run.
Cheers,
M
Comments:
-
Thanks for sharing. I tried it and it worked, though I'm wondering why it has to be split into two separate scripts/steps and why doesn't it work to call the shell script directly from the dependency dir? Just curious if you, or anyone, had any ideas about that. Again, thanks for sharing - it works! - Timmo 11 years ago