changing passwords on cat5 devices

Zhang, Anchi AZhang at reliant.com
Mon Jan 13 15:21:16 UTC 2003


Greetings,

In trying to change the enable password on about 100 CatOS devices, I have a
bourn shell script calling

	clogin -c "set enablepass $2$UTXb$gcYEfPcOCt0Ths6szOXc0" $hostname

However, no matter how I quote the encrypted password and/or escape meta
character $, clogin either fails or executes with an empty password.  Using
"clogin -x <filename>" produces the same effect.

Your pointers, please.

Anchi



More information about the Rancid-discuss mailing list