An infrastructure auditor reviews the local access credentials and line configuration snippet on an enterprise Cisco IOS switch:
text
username auditmgr privilege 15 secret 8 vG4k$9mP...
username techuser privilege 1 password 0 Cisco123!
service password-encryption
!
line console 0
login local
!
line vty 0 4
login local
transport input ssh
!
line vty 5 15
login
transport input ssh
Based on this configuration, which statement accurately describes the operational and security impact on administrative access?
- AVTY lines 5 through 15 will automatically fall back to local database authentication because transport input ssh is enforced across all VTY lines.
- BThe auditmgr account uses Type 8 PBKDF2 hashing, which provides weaker protection than the reversible Type 7 cipher applied to techuser by service password-encryption.
- VTY lines 5 through 15 will fail local database authentication because they specify login instead of login local, while techuser credentials are protected only by weak Type 7 encryption.Answer
- DExecuting service password-encryption elevates techuser to privilege level 15 and converts the unencrypted password string into a secure Type 9 scrypt hash.
Answer
VTY lines 5 through 15 will fail local database authentication because they specify 'login' instead of 'login local', and 'techuser' credentials are stored using weak reversible Type 7 encryption.
The statement identifying that VTY lines 5 through 15 will fail local database authentication due to using 'login' instead of 'login local', alongside identifying that 'techuser' relies on weak Type 7 encryption, is correct. On Cisco IOS lines, 'login' requires a line-specific password and ignores the local username database. Additionally, 'service password-encryption' only applies weak Type 7 reversible obfuscation to 'password' commands rather than strong 'secret' hashing (Type 5, 8, or 9).
Step-by-Step Solution
Key Concept
Line Access Authentication and Cisco IOS Password Encryption Types