This post provides step by step guide to Install McAfee agent on Mac OS. Though the McAfee KB available for the same, could see some of us struggling to do it. So felt outlining a steps with commands will be helpful. Consider Mac OS version 10.14.3 and McAfee Agent version 5.6.2 used for demonstration here. Kindly note this guide suitable for ePO environment.
Step1: Get McAfee agent package from ePO
Re: McAfee Agent for Mac (4.6.0.3122) Deployment issue Jump to solution Yes, the certificate issue is fixed in MA 4.6 Patch-3 and that's minimum patch required on Mac OS X 10.7.5 & above and Mountian Lion. On Linux and Macintosh systems, McAfee Agent is installed manually using an installation script (install.sh) that McAfee ePO creates when you check in the McAfee Agent software package in the McAfee ePO Master Repository and indicate the operating system in use. How to manually remove VirusScan for Mac 8.6.x using a removal script How to uninstall and reinstall McAfee Agent 4.x on Macintosh computers Note that if you have already tried to uninstall the software, you may have to reinstall it in order to finish the job.
Use any one of below method to get the McAfee Agent Installation package from ePO.
From Console:
Mcafee Mac Agent Install
System Tree -> New systems -> Select “Create and download agent installation package” -> Click on “Non Windows” -> Select version and “OK”
From ePO Server:
Login to ePO server RDP session. And copy the below Install script to target system.
Step2: Install McAfee Agent
First extract the archive and execute the Installer script. Then output will be similar to below if the Installation is successful.
Further verify and ensure McAfee agent Installed correctly.
Step3 (Optional): Set Custom Properties
This step is optional. Therefore If your organization demands to set custom properties, you may refer these commands. Unlike Windows, McAfee agent Installation command of Mac OS do not accept custom properties as arguments. Since you must set it manually after McAfee agent Installation.
Mcafee Agent Manual Install
Note: Kindly replace “xyz” with the value suitable to your requirement.
Step4: Start McAfee Agent service
Now its time to start McAfee Agent service. Since these commands need root privileges, use “sudo” as prefix.
Step5: Verify agent to server communication
Finally verify and ensure agent do talking to ePO without any Issue.
Like above, does the log shows server response code of 200. Then agent received response from server. Thus it mean agent talking to ePO well. Herewith completed McAfee agent Install on Mac OS.
Additional Useful Commands
Found bunch of other commands useful during Installation and troubleshooting. Hence will write them here with its purpose and syntax.
Q1: How to list the kernel modules loaded for McAfee agent?
Q2: What is the command to stop and restart McAfee agent service?
Q3: Is there a way to disable McAfee agent service and prevent startup during boot of Mac OS?
Above commands disable McAfee agent kernel modules. Hence it will not start automatically from next boot.
Q4: How do I re-enable McAfee agent services to load automatically during boot time on Mac OS?
Above command does enable McAfee agent kernel modules to load during Mac OS boot time. Since from next restart McAfee agent do start automatically.
Q5: Is it possible to find out ePO server details from client (agent) system? And how to verify connectivity to it through commands?
Have already wrote answer to this question in other post. Request you to look at “Troubleshooting Section” of post http://techadminblog.com/how-to-install-mcafee-agent-on-linux/
To conclude, have shared as much as Information I could with examples. Hope this does helps you when needed. And please post your thoughts and queries in comments section. At last Thank You for reading my post !!