Discussion:
[rancid] Script copy
Gines Granados Bayona
2016-04-07 16:17:19 UTC
Permalink
Hi everybodyI wanted to know how I can make the configuration file
.cloginrc can run and copy the result of a script.

Example



add method ***.***.***.***

add user ***.***.***.*** user

add password ***.***.***.*** { password } { password }

add usercmd_chat xxx.xxx.xxx {/usr/libexec/rancid/clogin} {-s}
{"/usr/local/rancid/examplescript.exp" xxx.xxx.xxx >
/usr/local/rancidd/Ibercom/configs/host.new}



Can you do indicate where the error?

Greetings and thank you
--
Este mensaje se dirige exclusivamente a su destinatario. Puede contener
información confidencial sometida a secreto profesional o cuya divulgación
este prohibida, en virtud de la legislación vigente. No esta permitida su
divulgación, copia o distribución a terceros sin la autorización previa y
por escrito del remitente. Si ha recibido este mensaje por error, le
rogamos nos lo comunique inmediatamente por esta misma vía y proceda a su
destrucción.


This e-mail is intended exclusively for the individual or entity to which
it is addressed
and may contain confidential or legally privileged information, which may
not be disclosed under current legislation. Any form of disclosure, copying
or distribution of this e-mail is strictly prohibited, save with written
authorisation . If you have received this message in error, please notify
the sender immediately by e-mail and delete all copies of the message.
Loading...