[rancid] do you automate enable password changes using Rancid, if so how?
Jeremy McCourt
jmccourt at jeremymccourt.com
Tue Jan 23 05:00:05 UTC 2007
I've been combining my commands in the -c part of clogin.
i.e.
/usr/local/rancid/bin/clogin -c "conf t\renable secret
$new_password\renable password $old_password\rline con 0\rpassword
$new_password\rexit\rline vty 0 4\rpassword $new_password\rexit\rline
vty 5 15\rpassword $new_password\rexit\rexit\rwr mem\r" $hostname
I'm just wondering how everyone else does it. if you do... and if not,
this works well for me.
-Jeremy
More information about the Rancid-discuss
mailing list