Set Account Policy from the CLI
To configure an account policy via the CLI, enter the following command:
$ policy account set [disableinactive=no] [inactivitytimeout=90]
Example:
$ policy account set disableinactive=yes inactivitytimeout=60
New policy successfully set.
New account policy will be applied to future opened sessions.
The possible values for the configurable parameters are:
Parameter | Values | Description |
---|---|---|
disableinactive | Yes|No | Determines whether or not user accounts are disabled after the specified number of days of account inactivity. |
inactivitytimeout | 1..365 days | The number of days (since the last login) after which the user account will be disabled. |
See also "Policy Settings" in the associated User's Guide.