Re: [Plugins-writers] Scripting local security checks *again*

From: David Jacoby (dj@private)
Date: Tue Dec 07 2004 - 01:47:50 PST


Hi again =)
Even more problems, when im doing local security checks some script 
requre a long timeout.
I have change the timeout value in the script by applying the following 

buf = ssh_cmd(socket:sock,cmd:"MY CMD", timeout:2000);

but then i can see in the logs that some of my scripts are not patient 
enugh and starts to
connect to the SSH server. Is there some way to get the scripts to wait 
unstill one script
has finnished before executing.

[Tue Dec  7 10:33:56 2004][14194] shared_socket: Secret/SSH/socket is 
busy (locked by 14291)
[Tue Dec  7 10:33:57 2004][14194] shared_socket: Secret/SSH/socket 
released by process 14291
[Tue Dec  7 10:33:59 2004][14194] shared_socket: Secret/SSH/socket now 
locked by 14298

Plugins-writers mailing list

This archive was generated by hypermail 2.1.3 : Tue Dec 07 2004 - 01:48:28 PST