Welcome to the new Linux Foundation Forum!

Chapter 6: 6.13.b. Lab 6.2

FriendOfLinuxFriendOfLinux Posts: 5
edited November 2016 in LFS216 Class Forum

Chapter 6:    6.13.b. Lab 6.2


Starting at Step 8, we setup secondary.main.com, like so:

8. Connect the client (agent) with the server (manager).

Install OSSEC client on secondary.example.com:

# yum -y install ossec-hids ossec-hids-client

9. Configure the client to communicate with the server. In the <server-ip> statement of the <client> stanza of the <ossec_config> section in /var/ossec/etc/ossec.conf file, set the ip address of the server (manager).

# vi /var/ossec/etc/ossec/conf

Should look like this: (with your server IP address)





10. Create a client (agent) definition on the server with the manage_agents command.

# /var/ossec/bin/manage_agents

... ... ...


Step 10 above has a problem.

In folder /var/ossec/bin there is no manage_agents.

There is manage_client. 

The text interace for manage_client has a different

setup from those shown in step 10 of LAB_6.2.pdf (which is for manage_agents)

But I cannot use manage_client becuase I do not have the server's key at this point.  

In addition, I am using CentOS 7 (kernel v3.10) image on VMPlayer.  It does not do cut and paste

between the VM and its host or another VM!

Please advice.  about step 10!

Thank you.









Sign In or Register to comment.