ā02-19-2023 07:57 AM
to protect privilege mode I entered command--
#enable secret 5 cisco
but it is not taking now as I tried to enter from usermode to privilege mode i.e. Cisco password is not working
any reason
ā02-19-2023 08:04 AM
- You need to be in config mode for these commands to be entered : start with # conf t
M.
ā02-19-2023 08:05 AM - edited ā02-19-2023 08:06 AM
Hello,
The 5 in your command indicates that an encrypted password will follow. The password of 'cisco' is not encrypted.
Can you try enable secret cisco
Then try it again.
If you want it hashed you can enter the command service password-encryption in config mode.
-David
ā02-19-2023 08:07 AM
from usermode to privilege mode
as your command show you have not tired config mode,
if you tried what error you getting ? how is your VTY Lines config
ā02-19-2023 08:11 AM - edited ā02-19-2023 02:58 PM
secret is depend on MD5, can I now platform you test? it can that it not support MD5.
can I see
show running <<-
also check this link
https://www.youtube.com/watch?v=haf5cIwEBRU
ā02-19-2023 02:33 PM
The original post is somewhat ambiguous about whether the command was entered in privileged mode or in config mode. I believe that the description of the behavior (password cisco does not work) makes it clear that the command was entered in config mode.
I believe that @David Ruess has correctly identified the issue that entering enable secret 5 IOS will assume that the next data is an encrypted version of the password but what was entered was the clear text password.
The suggestion to try enable secret cisco is a good one. But to be able to do that the original poster needs to be in config mode. And currently they are locked out from privilege mode (and so are also locked out of config mode). I believe that password recovery must be done to be able to solve this issue.
ā02-20-2023 07:50 AM
And after the correct usage to configure this password is found, please also stop using passwords hashed with MD5 and move to SHA256/SCRYPT what is a best practice:
IOS(config)#enable algorithm-type sha256 secret SuperSecurePassword
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