On Fri, Jan 4, 2019 at 5:54 PM ram sri <[email protected]> wrote:

> .cmd files won’t run on linux, it’s a windows script.
>>
>> Yes, but how can i run script for windows machine?
>
>>
>>> How do you have active response configured?
>>
> Same , i configured in ossec.conf (ossec server).
>
>
>> Which active response command are you trying to run?
>>
> I tried restart-ossec.cmd, firewall-drop.cmd, winroute-nul.cmd . These
> three command trigger bt not action. as you said .cmd file won't run linux
> means why ossec specified this example
> https://ossec-docs.readthedocs.io/en/latest/manual/ar/ar-windows.html.
> please give me a solution.
>
>
>> Can you check the ownership and permissions of the script?
>>
> Initially i give file permission to execute the windows script(.cmd file).
>
>
> I want to know, is the ossec active response is applicable for windows
> machine(not windows agent) and linux machine ( i am not asking about ossec
> server and ossec agent) .
>

If you can write a script to remotely run the commands from an ossec agent
on a non-ossec agent system it can work. We don’t support running active
reponse on non-ossec systems.



> Thanks,
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "ossec-list" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to