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.