Querying and Setting the Minimum Password Age (minimumpasswordage)
Function
The minimumpasswordage command is used to query or set the minimum password age.
The minimum password age is the shortest time period for which a password must be used after it was set. During this period, the password cannot be changed.
Format
ipmcget -d minimumpasswordage
ipmcset -d minimumpasswordage -v time
Parameters
Parameter |
Description |
Value |
---|---|---|
time |
Specifies the minimum password age. |
Value range: 0 to 365 The value 0 indicates that the passwords do not have a minimum password age. |
Usage Guidelines
Only the system administrator can set the minimum password age.
Example
# Set the minimum password age to one day.
iBMC:/->ipmcset -d minimumpasswordage -v 1 Set minimum password age successfully, minimumpasswordage(1) days.
# Query the minimum password age.
iBMC:/->ipmcget -d minimumpasswordage Minimum password age: 1