Querying and Setting User Inactive Period (securityenhance -d inactivetimelimit)
Function
The securityenhance -d inactivetimelimit command is used to query and set the user inactive period. If a user does not perform any operation during the specified period, the user will be disabled.
Format
ipmcset -t securityenhance -d inactivetimelimit -v <value>
ipmcget -t securityenhance -d inactivetimelimit
Parameters
Parameter |
Description |
Value |
---|---|---|
value |
Specifies the inactive period (in days). |
The value 0 indicates unlimited time, that is, the user will never be disabled. |
Usage Guidelines
None.
Example
# Set the user inactive period to 30 days.
iBMC:/-> ipmcset -t securityenhance -d inactivetimelimit -v 30 WARNING: This operation could lead to iBMC users be disabled when users' inactive time is overdue. Do you want to continue?[Y/N]y Set inactive user timelimit successfully.
# Query the user inactive period.
iBMC:/-> ipmcget -t securityenhance -d inactivetimelimit
User inactive timelimit: 30