A network administrator inspects a Cisco IOS XE switch and finds the following running configuration snippet:
text
username secadmin privilege 15 password 0 C1sc0123!
!
line vty 0 4
transport input ssh
login local
The organization's security hardening baseline requires all local database user accounts to store credentials using PBKDF2 (Type 8) password hashing rather than unencrypted plaintext (Type 0). Which global configuration command correctly updates the local user credential to meet this security standard?
- username secadmin privilege 15 secret algorithm-type sha256 C1sc0123!Cevap
- Bservice password-encryption algorithm-type sha256
- Cusername secadmin privilege 15 password 8 C1sc0123!
- Denable secret algorithm-type sha256 C1sc0123!
Cevap
The correct command is 'username secadmin privilege 15 secret algorithm-type sha256 C1sc0123!'.
The command 'username secadmin privilege 15 secret algorithm-type sha256 C1sc0123!' properly replaces the Type 0 unencrypted local password entry with a secure PBKDF2 SHA-256 (Type 8) hash for the specified local user account.
Adım Adım Çözüm
Anahtar Kavram
Cisco IOS Local Password Hashing Types and Command Syntax