3Com Switch 8800 Advanced Software V5 Configuration Guide

Password Control Configuration Example 979
<Sysname> system-view
# Prohibit the user from logging in after two successive login failures.
[Sysname] password-control login-attempt 2 exceed lock
# Set the password aging time to 30 days for all passwords.
[Sysname] password-control aging 30
# Set the minimum number of composition types for super passwords to 3 and the
minimum number of characters of each composition type to 5.
[Sysname] password-control super composition type-number 3 type-length 5
# Configure a super password.
[Sysname] super password level 3 simple 11111AAAAAaaaaa
# Create a local user named test.
[Sysname] local-user test
# Set the minimum password length to 6 for the local user.
[Sysname-luser-test] password-control length 6
# Set the minimum number of password composition types to 2 and the minimum
number of characters of each password composition type to 5 for the local user.
[Sysname-luser-test] password-control composition type-number 2 type-length 5
# Set the password aging time to 20 days for the local user.
[Sysname-luser-test] password-control aging 20
# Configure the password of the local user.
[Sysname-luser-test] password simple 11111#####