How to Restart Linux Ossec Agent.

From khika
Revision as of 11:51, 13 August 2019 by Rituja darandale (talk | contribs) (How to Restart Linux Ossec Agent.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to Restart Linux Ossec Agent.

1. To restart the linux ossec agent installed on your linux you will have to go to the following directory:

   /opt/ossec/bin 

2. 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 restart 

6. Refer to the screenshot given below:
Win125.jpg
7. Your ossec agent is restarted.