Security Fundamentals

An administrator enters the command password C1sc0 under line console 0, yet console connections reach user EXEC mode with no prompt. Which command is missing under that line?

Show the answer

Correct answerB. login

AWhy not this: Enable secret protects privileged EXEC mode, not the console line's initial access.

BWhy this is right: Login enables password checking on the line, so the configured line password is requested.

CWhy not this: Service password-encryption only obscures passwords in the configuration and enforces nothing.

DWhy not this: Exec-timeout sets the idle session timer and does not make the line ask for a password.

A line password is enforced only when the login command is configured on that line. Without login, the device never asks for the password. Service password-encryption only obscures stored passwords and does not turn on the prompt.