changing passwords on cat5 devices

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


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.


More information about the Rancid-discuss mailing list