[rancid] not logging in

A J collabrotech at gmail.com
Thu May 20 23:47:52 UTC 2010


I need to make rancid use the username "admin". How do I do that?

here's my cloginrc file:
#
# Sample .clogin.rc file
#

#add user 10.2.188.12 admin
add password   *    password!  password!
add method     *    ssh telnet

This is what happens when I test:

bash-3.2$ vi /usr/local/rancid/.cloginrc
bash-3.2$ /usr/local/rancid/bin/clogin 10.2.188.12
10.2.188.12
spawn ssh -c 3des -x -l rancid 10.2.188.12
Password:
Password:
Password:
rancid at 10.2.188.12's password:
Connection closed by 10.2.188.12
spawn telnet 10.2.188.12

Error: telnet failed: couldn't execute "telnet": no such file or
directory
bash-3.2$ vi /usr/local/rancid/.cloginrc
bash-3.2$ exit
exit


thanks!


More information about the Rancid-discuss mailing list