local-user enable

Function

The local-user enable command activates aged users.

Format

local-user user-name enable

Parameters

Parameter Description Value
user-name

Specifies the aged user name to be activated.

The value is a string of 1 to 253 case-insensitive characters without spaces. If the value includes @, the characters before @ are the user name and the characters after @ are the domain name. If the value excludes @ or the domain name does not exist, the entire string is the user name and the user belongs to the default domain. A user name cannot contain two or more @s.

Views

AAA view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
aaa execute

Usage Guidelines

Usage Scenario

After the user-aging command is run, if the aging period expires, users are aged and cannot log in. To activate the aged users, you can run the local-user enable command.

After this command is run, if users are not aged, the aging period will be refreshed.

Example

# Activate the aged user named user1.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] local-user user13579 password irreversible-cipher Hello-13579
[~HUAWEI-aaa] commit
[*HUAWEI-aaa] local-user user13579 enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >