Applies to: Centrify DirectControl version 5.1.x for Mac OS X.
As noted in the KB below, the pkg file of version 5.1 of the CDC Agent for Mac OS X can no longer be unpacked:
This means that silent deployments with programs like Apple Remote Desktop can no longer be done with this version.
Is there another way to silently push out and install version 5.1.x of the agent software?
There are two methods to silently install the CDC Agent for Mac OS X.
Both methods require that the Mac has a local administrator account available and SSH enabled.
For more information on the pre-requisites for remote deployment, please see:
This has been fixed in version 5.1.1 of the Centrify agent for Mac. From this version onwards the .pkg file from the installer can be natively pushed out via Apple Remote Desktop with no modifications needed. However the options presented below can still be used if desired.
Use Deployment Manager to install/upgrade the agent software on the Mac.
Use an appropriate file transfer method to push the CentrifyDC-5.1.x.pkg file out to the target Mac machine.
Use a program such as Putty to SSH into the Mac and log into the Local Admin account (or any account with local admin rights)
Navigate to the directory where the pkg file was pushed, and then run the following command:
sudo /usr/sbin/installer –pkg CentrifyDC-5.1.x.pkg –target /
(This will install the updated agent without popping up the GUI.)
If this is an update of an existing agent and the Mac was already joined to the domain, then there are no further steps are needed.
If the Mac agent is a fresh install and needs to be bound to the domain, then enable licensed mode first and then use the adjoin command:
To enable licensed features, run:
sudo adlicense -l
To join the domain in Auto Zone mode:
sudo /usr/sbin/adjoin --user Domain_Admin --container "domain.com/Path/To/OU" --name ComputerName --workstation domain.com
To join the domain in Zone Mode:
sudo /usr/sbin/adjoin --user Domain_Admin --container "domain.com/Path/To/OU" --name ComputerName --zone ZoneName domain.com