/
Create non-expiring user

Create non-expiring user

With API (>=3.9):

  1. create new user

  2. set attribute API_USER=1

    1. user will get empty list of available GUIs and will not expire his password

 

With DB (>=3.3):

Set password changed time in password_history table for some time in future.

Ex: update password_history set changed = '2030-01-01' where password = '{"sha1":"9CDE3F9C7F7012D817A4A54F41DED3E151AF6B66"}' and userid = 21;

This way will broke password set\change functionality, password in future will be used for login even after change\set password from GUI or API.