Skip to Content

Set maximum days without login for SSH gateway users

The Maximum Days Without Login feature would automatically lock the account if the user has not logged in for the number of days set.

User automatically locked out after 60 days of inactivity

 A value of 0 means never lock the account. For example, if you want inactive accounts to be locked after 60 days then you can set 60 under Maximum Days Without Login So that after 60 days that user account will be locked out.

 

How to disable maximum days without login from the backend?

Run the below command to disable maximum days without login from the backend.

root@gateway ~]# php /usr/local/ezlogin/ez_queryrunner.php "update prefix_settings SET value = 0 WHERE name = 'nologin_days'"

 

Related Articles

Set SSH gateway user password lifetime

Set SSH User Expiry