...
- If an user is not logged in, won't be locked.
- The last login time for an user will only be tracked once this versions are update.
Global configurations
Should be specified in nmis (/usr/local/nmis8/conf/Config.nmis) and omk (/usr/local/omk/conf/opCommon.json) configuration:
Code Block |
---|
'expire_users' => 'true/false',
'expire_users_after' => 86400 * 90 # Seconds, this is 3 months
'last_login_dir' => '<nmis_var>/nmis_system' => Don't need to change. Should be the same for OMK and NMIS. |
The number of max sessions can be changed by user.
Code Block |
---|
'nmis' => {
'admission' => 'true',
'groups' => 'all',
'privilege' => 'administrator',
'user' => 'nmis'
'expire_at' => 86400 * 30
}, |
How to set up one account so the user is never locked
...