The command output helps you diagnose and rectify the faults related to local user passwords.
# Display the time when local accounts expire.
<HUAWEI> display local-user expire-time
-------------------------------------------------------------------------------
Username Password-expire Account-expire Expired
-------------------------------------------------------------------------------
zsh 2014-12-01 21:25:44 - NO
mm001 2014-12-01 21:29:58 - NO
-------------------------------------------------------------------------------
Total: 2, printed: 2
Item |
Description |
---|---|
Username |
Local account name. To configure this parameter, run the local-user command. |
Password-expire |
Number of days after which the password expires. To configure this parameter, run the password expire command. |
Account-expire |
Account expiration time. To configure this parameter, run the local-user expire-time command. |
Expired |
Whether the local account has expired:
NOTE:
The displayed value and actual value may have a difference within one minute; there is a possibility that the password has expired, but the displayed value is NO. When the local user account or password has expired, the local user becomes invalid. |