auth-prompt
auth-prompt
Change the AAA challenge text. (Configuration mode.)
[no] auth-prompt [accept | reject | prompt] string
clear auth-prompt
show auth-prompt
Syntax
accept
If a user authentication via Telnet is accepted, display the prompt string. reject If a user authentication via Telnet is rejected, display the prompt string. prompt The AAA challenge prompt string follows this keyword. This keyword is optional for backward compatibility. string A string of up to 235 alphanumeric characters. Special characters should not be used; however, spaces and punctuation characters are permitted. Entering a question mark or pressing the Enter key ends the string. (The question mark appears in the string.)
Usage Guidelines
The auth-prompt command lets you change the AAA challenge text for HTTP, FTP, and Telnet access. This text displays above the username and password prompts that users view when logging in. If you do not use this command, FTP users view
FTP authentication
, HTTP users viewHTTP Authentication
, and challenge text does not appear for Telnet access.If the user authentication occurs from Telnet, you can use the accept and reject options to display different authentication prompts if the authentication attempt is accepted or rejected by the authentication server.
Microsoft Internet Explorer only displays up to 37 characters in an authentication prompt. Netscape Navigator displays up to 120 characters, and Telnet and FTP display up to 235 characters in an authentication prompt.
Examples
The following example shows how to set the authentication prompt and how users view the prompt:
auth-prompt XYZ Company Firewall AccessAfter this string is added to the configuration, users view:
Example.com Company Firewall Access
User Name:
Password:The prompt keyword can be included or omitted. For example:
auth-prompt prompt Hello There!This command statement is the same as the following:
auth-prompt Hello There!