Difference between revisions of "How to Stop OSSEC Server using command line."

From khika
Jump to navigation Jump to search
(How to Stop OSSEC Server using command line.)
(How to Stop OSSEC Server using command line.)
Line 9: Line 9:
 
     '''./ossec-control stop'''
 
     '''./ossec-control stop'''
 
6. Refer to the screenshot given below:
 
6. Refer to the screenshot given below:
 +
[[File:Win117.jpg|700px]]

Revision as of 10:56, 13 August 2019

How to Stop OSSEC Server using command line.

1. To Stop the linux OSSEC Server which is preconfigured on your KHIKA Aggregator you will have to go to the following directory:

   /opt/ossec/bin 

2. Log in to KHIKA Aggregator and become root user using the command "sudo su"
3. Go the the above mentioned directory using "cd /opt/ossec/bin" command.
4. Type " ls -ltrh " to list the files and directories present in the directory.
5. Type following command to restart the ossec agent.

   ./ossec-control stop

6. Refer to the screenshot given below: Win117.jpg