On Wed, Jan 28, 2015 at 9:35 AM, Michael Jerger <[email protected]> wrote:
>> > Hi,
>> >
>> > I currently try to write an automated ossec agent deployment and am
>> > struggling over setting the agents key. I try on agent system:
>> >
>> > /var/ossec/bin/manage_agents -i somekey
>> >
>> > but get sth. like:
>> >
>> > <== Agent information:
>> > <== ID:14
>> > <== Name:xxx.xxxx.xxxx
>> > <== IP Address:xxx.xxx.xxx.xxx
>> > <== Confirm adding it?(y/n):
>> >
>> > interactive input is dificult for my config management. So my question is:
>> > Is there a way to set agents-key non-interactive?
>>
>> Can you use the agent-auth/authd stuff?
>
> Thanx, that's an good idea on long term.
> But at the moment the trust is transported through config management.
> I do not want to establish an alternative transport way with the only reason
> of this interactive thing ...
>

Modifying the code to remove the confirmation shouldn't be difficult.

>
>> > Best regards,
>> > Michael
>
> --
>
> ---
> 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