Settings Required on MAC OSX to Allow Deployment of Agents in Client Automation

Document ID : KB000024610
Last Modified Date : 14/02/2018
Show Technical Document Details


By default the root user account is disabled on MAC OSX. This and the remote login settings must be enabled to allow the Deployment Wizard in Client Automation to deploy the MAC agents to the system.


Settings required on MAC OSX to allow Deployment

Prior to being able to use the Deployment Wizard in Client Automation there are two things that need to be set up before initiating the deployment on the MAC machines

  • Root account needs to be enabled

  • Root account should permitted to do SSH into the machine

  • Remote Login should be enabled

Note that by default the root user account is disabled on MAC OSX - it can be enabled in the Netinfo Manager application like so:

Macintosh HD -> Applications -> Utilities -> NetInfo Manager -> Security Menu -> Enable Root User

Figure 1

Figure 2

(You may also need to "Authenticate" in the Security Menu (Administrator name and password), prior to the "Enable Root User" being accessible.)

It is also necessary to enable Root user and to enable "Remote Login" to perform SSH into the MAC Host.

Click the "System Preferences" menu shown below:

Figure 3

Then select "Sharing", as shown:

Figure 4

Next "tick" the "Remote Login" check box, and click Start to start the service.

Figure 5

Finally, click the padlock to prevent further changes, and close the window.

Now it is necessary to open the sshd_config file, found under /etc and set the following:

  • PermitRootLogin yes
  • PasswordAuthentication yes

Editing the sshd_config file is done in the following manner:


Login as root 
In terminal, type: 
                  cd /etc (it is hidden) 
                  vi sshd_config 
                  unrem - PermitRootLogin yes 
                  :wq! <Enter> 

The editing of the sshd_config file can also be remotely, after the root user has been enabled, using a telnet session. In the example below, Putty.exe was used.

From a Windows machine, run the putty.exe application and follow the screenshots below:

Enter "root" as the login name, and the password as set when enabling the root user previously.

Figure 6

    cd /etc (it is hidden) 
    vi sshd_config 

Figure 7

Note: vi sshd_config - opens the file for editing as shown below.

Figure 8

    unrem - PermitRootLogin yes (i.e. remove # ) 
    scroll down and ensure that PasswordAuthentication is set to yes 
    :wq! <Enter> to finish 

Figure 9

Then close the putty.exe window to close the session.

Deployment of the Client Automation Agents should now be possible.