I need a command script for changing enable passwords-CatOS and IOS.
Does anyone have one already?
Thanks,
-Jessica
Jessica, try executing this script on IOS:
${EnterConfigMode}enable secret <new password>exitwrite memory
AND this script on CatOS:
${EnterConfigMode}set enablepass${EnablePassword}<new password><new password>exitwrite memory
Hmm. Well, I haven't tried the IOS script yet, but unfortunately the CatOS script doesn't work. It gave me the same response with "wrong password".
-jessica
Can you replace any passwords with <old password> or <new password> and post the results you see in the command script execution window? I've gotten this script to work on the Catalyst 6k we have here in the lab.
Here are my results.___________________________________________________________________________5/12/2008 1:27:52 PM : Started Change enable password on CatOS switches : Job-309413Execute Command Script on Devices1 devices selectedCommand Script--------------${EnterConfigMode}set enablepass${EnablePassword}<new password><new password>exitwrite memory--------------switchname.x.x.x------------------set enablepassEnter old password:Sorry password incorrect.old passwordUnknown command "old password". Use 'help' for more info.<new password>Unknown command "<new password>". Use 'help' for more info.<new password>Unknown command "<new password>". Use 'help' for more info.