Security

With AAA disabled, a router's VTY lines contain both `login local` and a line password, but its local username database is empty. An SSH client reaches the login prompt; which credential will permit authentication?

Show the answer

Correct answerB. No credential until a local user exists

AWhy not this: The line password is used by line password authentication, not as a fallback for login local.

BWhy this is right: Local authentication requires an existing local username and its valid credential.

CWhy not this: The enable secret protects privilege elevation rather than authenticating this VTY login.

DWhy not this: An arbitrary username cannot authenticate against an empty local username database.

`login local` requires credentials from the local username database, so an empty database prevents authentication. A configured line password is not a fallback for local authentication.