54
<Sysname> system-view
[Sysname] user-interface aux 0
[Sysname-ui-aux0]
# Enter the user interface views of VTYs 0 to 4.
<Sysname> system-view
[Sysname] user-interface vty 0 4
[Sysname-ui-vty0-4]
web captcha
Use
web captcha
to specify a fixed verification code for Web login.
Use
undo web captcha
to restore the default.
Syntax
web captcha
verification-code
undo web captcha
Default
A Web user must enter the verification code indicated on the login page to log in.
Views
User view
Default command level
3: Manage level
Parameters
verification-code
: Specifies the fixed verification code for Web login, a case-sensitive four-character
string.
Usage guidelines
If you configure the
web captcha
command multiple times, the most recent configuration takes effect.
After you configure a fixed verification code for Web login, a Web user can use the code for login,
without caring about the verification code displayed on the login page. This feature is intended for test
environments where a script is usually used for Web function tests. Eliminating the requirement for
entering the verification code every time, this feature helps improve the test efficiency.
For Web access security, do not use this feature in production environments.
This command is not saved to the configuration file and cannot survive a reboot.
Examples
# Specify a fixed verification code for Web login.
<Sysname> web captcha test
web https-authorization mode
Use
web https-authorization mode
to specify the authentication mode for users trying to log in to the
device through HTTPS.
Use
undo web https-authorization mode
to restore the default.