Set Session Policy from the CLI
To configure a session policy via the CLI, enter the following command:
$ policy session set [autologout=value] [idletimeout=value] [limitpwdretries=value] [maxpwdretries=value] [pwdfailinterval=value]
Example:
$ policy session set autologout=yes idletimeout=20
New policy successfully set.
New session policy will be applied to future opened sessions.
The possible values for the configurable parameters are:
Parameter | Values | Description |
---|---|---|
| Yes|No | Determines whether or not users are logged out automatically after a specified period of inactivity. |
| 1 to 1440 minutes (default = 15 min.) | Idle timeout period in minutes. |
limitpwdretries | Yes|No | Limits the number of consecutive failed sign-in attempts by a user during a specified time period. |
maxpwdretries | 3..10 attempts (default = 3) | Maximum number of consecutive failed sign-in attempts allowed during a specified time interval. |
pwdfailinterval | 5..60 minutes (default = 15) | Time period during which the consecutive failed sign-in attempts will be counted to lock out the account. |
See also "Policy Settings" in the associated User's Guide.