Overview
GFI LanGuard encounters an issue when scanning or deploying/installing patches in a Mac OS X environment.
Environment
- GFI LanGuard 2012 SR1 and later versions
- Mac OS X
Root Cause
The scan and deployment on Mac OS X computers work completely different from Windows operating systems. GFI LanGuard needs to copy and run some scripts to the Mac computers to get the system information.
Resolution
- Confirm GFI LanGuard is able to resolve the name of the remote computers:
- Open the command prompt.
- Type the command:
ping Mac_hostname
- Confirm that the SSH connection is open on Mac computers:
- From the LanGuard server, download putty.exe.
- Open
putty.exe
and type the IP address obtained in step 1. Change the SSH port if it's required. - If the connection is allowed, you should be asked for the authentication.
- Specify the root credentials to verify that the account is enabled and the password is valid:
- Enable root user or change the root password in Mac.
-
Enable the SSH service in Mac OS X.
NOTE: The Administrator account does not require permissions to scan or deploy patches. We must use a superuser 'root' account.
- Confirm that the LanGuard communication port is allowed between the server and clients:
- Go to the Configuration > Agents Management > Agents Settings.
- Take note of the port specified on the TCP port.
- Connect to a Mac computer and do the following steps:
- Open a terminal session. You can open Terminal by using Spotlight (CMD+Space) or by going to Applications > Utilities > Terminal.
- Copy and paste the command:
curl http://<LanGuard_Server>:1072/files/mac/index-leopard.merged-1.sucatalog
Where<LanGuard_Server>
is the hostname of the server.
NOTE: Remember that the port 1072 is defined by default but may change depending on the environment settings.
Confirmation
If the connection is allowed, you should be able to list the content of the file, otherwise, the communication port is blocked at some point in the network.
Priyanka Bhotika
Comments