GFI LanGuard encounters an issue when scanning or deploying/installing patches in a Mac OS X environment.
- GFI LanGuard 2012 SR1 and later versions
- Mac OS X
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.
- Confirm GFI LanGuard is able to resolve the name of the remote computers:
- Open the command prompt.
- Type the command:
- Confirm that the SSH connection is open on Mac computers:
- From the LanGuard server, download putty.exe.
putty.exeand 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:
<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.
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.