< Home

firstmodify enable

Function

The firstmodify enable command forces users to change their passwords upon the first login.

The undo firstmodify enable command restores the default setting.

Format

firstmodify enable

undo firstmodify enable

Parameters

None

Views

Password policy view

Default Level

2: Configuration level

Usage Guidelines

You can run the firstmodify enable command to force users to change their passwords upon the first login to enhance security. This command applies only to local authentication.

By default, changing a password is not required upon the first login.

Example

# Force users to change their passwords upon the first login.

<sysname> system-view
[sysname] password-policy
[sysname-password] firstmodify enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >