09-20-2022 09:27 AM
Hello,
Seems I cannot find how to change password on 4331. I know current one so its not resetting like here:
09-20-2022 09:49 AM
If it is the enable password that you refer to it is set by the enable secret <new password> command from configuration mode. If it is not please get back with additional information so that we can understand what password it is that you want to change.
09-20-2022 10:01 AM
First question do you have access to device with config mode access to change password ?
Second is the user local or using any AAA servers ?
09-20-2022 10:11 AM
I SSH to the device using admin. Here is part of my config:
username admin privilege 15 secret 5
ip ssh time-out 90
ip ssh authentication-retries 2
ip ssh rsa keypair-name name2
ip ssh version 2
line vty 1 4
access-class 1 in
exec-timeout 1 30
privilege level 15
login local
transport preferred ssh
transport input ssh
line vty 5 10
access-class 1 in
exec-timeout 30 0
privilege level 15
login local
transport preferred ssh
transport input ssh
09-20-2022 10:48 AM
From configuration mode enter this username admin password <new password>
09-21-2022 03:24 AM - edited 09-21-2022 03:25 AM
Try :
username admin1 priviledge 15 password *****
That should work as expected. below works for me all the time. ( test with admin1 user)
line vty 0 15
privilege level 15
Note : what devices others you mentioned also working with out enable ? same ISR Routers ?
09-21-2022 07:18 AM
Seems like username admin1 priviledge 15 password ***** works but I have this message.
Command has been added to the configuration using a type 0 password. However, type 0 passwords will soon be deprecated. Migrate to a supported password type
09-21-2022 07:45 AM - edited 09-21-2022 08:07 AM
for new user admin1 it works fine but when I want to change for admin I have:
ERROR: Can not have both a user password and a user secret.
Please choose one or the other.
So I have removed the admin and add it again with new password and now it works. Is there a way to secure these passwords?
09-21-2022 09:09 AM
if your admin1 working then
try below :
config t
no username admin privilege 15 secret 5
username admin priviledge 15 password *****
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide