Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-2919: How to silently install version 5.1.x of the CDC Agent for Mac OS X

Centrify Identity Service, Mac Edition ,  

12 April,16 at 11:11 AM

Applies to: Centrify DirectControl version 5.1.x for Mac OS X.
 
Question:
 
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?
 
Answer:
 
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: 
 
Note:
 
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.


 
Option 1:
  • Use Deployment Manager to install/upgrade the agent software on the Mac.
 
 
Option 2:
  1. Use an appropriate file transfer method to push the CentrifyDC-5.1.x.pkg file out to the target Mac machine. 
     
  2. 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) 
     
  3. 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 
 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.