password

Syntax

password

undo password

View

Local user view

Default level

2: System level

Parameters

None

Description

Use password to set a password for a local user in interactive mode.

Use undo password to remove the password for a local user.

Valid characters for a local user password are from the following four types:

A local user password configured in interactive mode must satisfy the password control requirement. For example, if the minimum password length is set to 8, the password must contain at least eight characters.

Examples

# Set a password for local user test in interactive mode.

<Sysname> system-view
[Sysname] local-user test
[Sysname-luser-test] password
Password:**********
Confirm :**********
Updating user(s) information, please wait....