The order has the following altogether:
(1) Enable secret
Enable secret 0 password plaintext
Enable secret 5 cipher cipher (MD5 encryption)
(2) Enable password
Enable password 0 password plaintext
Enable password 7 cipher cipher (CISCO private algorithm encryption)
Note: Parameter 0 can also not write
Usage:
(1) Enable secret
After you execute the Enable secret 0 zzz command, you can log in using the password zzz
However, after you execute the Enable secret 5zzz command, the login with password zzz fails because the command is followed by a value that is MD5 encrypted as the value of the login password
That is, if you want to use ZZZ as the login password, and you need to use the Enable SECRET5 to set, the command followed by the value should be $1$merr$3hhigmgba/9qnmgzccuxv0 "that is MD5 (" zzz ")"
Modified command: Enable secret 5 $1$merr$3hhigmgba/9qnmgzccuxv0
Note: The Enable password can no longer be executed after the enable secret is executed, but after Enablepassword is executed, enable secret can be executed (enable Secret command is more secure than Enablepassword)
(2) Enable password
After you execute the Enable password 0 zzz command, you can log in using the password zzz
However, when executing the Enable password 7 zzz command, an error occurred, prompting invalid encrypted password:zzz, because the command followed should be the value of the Cisco private algorithm encryption for the value to be used as the login password
Modified command: Enable password 7 083b5654
Note: Strings that have been encrypted by the Cisco private algorithm can be obtained in the following ways
Enable password zzz First
Then service password-encryption
Finally return to privileged mode execute show run to see Enable password 7 083b5654
083b5654 A string that is encrypted by the Cisco private algorithm
Configure Superuser Password (Cisco iOS system)