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
(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:
Then select "Sharing", as shown:
Next "tick" the "Remote Login" check box, and click Start to start the service.
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)
unrem - PermitRootLogin yes
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.
cd /etc (it is hidden)
Note: vi sshd_config - opens the file for editing as shown below.
unrem - PermitRootLogin yes (i.e. remove # )
scroll down and ensure that PasswordAuthentication is set to yes
:wq! <Enter> to finish
Then close the putty.exe window to close the session.
Deployment of the Client Automation Agents should now be possible.