[rancid] Re: Need a little help with Auto Enable
heas at shrubbery.net
Mon Dec 8 19:39:25 UTC 2008
Mon, Dec 08, 2008 at 10:38:00AM +0530, Srinivasa Raju:
> You can try this, this might fix the issue
> Edit <path-to-rancid>/bin/rancid
> Give absolute path where ever you see in the script is invoking 'clogin'
> For ex:
> - open(INPUT,"clogin -t $timeo -c \"$cisco_cmds\" $host </dev/null |") ||
> die "clogin failed for $host: $!\n";
> + open(INPUT,"/usr/local/rancid/bin/clogin -t $timeo -c \"$cisco_cmds\"
> $host </dev/null |") || die "clogin failed for $host: $!\n";
NO, add that path the user's PATH and let rancid (et al) inherit it. The
path should also include the location of telnet and ssh.
More information about the Rancid-discuss