How do I adjust the logout, or expiration time, for the web GUI?

Step-by-step guide

For Open-AudIT Community:

  1. Edit /usr/local/open-audit/code_igniter/config/config.php, Line 252. See
    $config['sess_expiration']        = 7200;
  2. Adjust the Session Expiration, expressed in seconds, to your new value
  3. To turn off logout set this to: $config['sess_expiration']        = 0;
  4. Save your file.
  5. Restart the omkd daemon and apache to load the new settings

For Open-AudIT Professional/Enterprise:

  1. Edit /usr/local/omk/conf/opCommon.nmis
  2. Search for auth_expire_seconds
  3. Adjust the auth_expire_seconds to your new value
  4. Save your file.
  5. Restart the omkd daemon and apache to load the new settings

1 Comment

  1. (warning) Please keep in mind that you might also have to change the session.gc_lifetime or session.gc_maxlifetime parameter in the php.ini of your server. (warning)

    By default this is 1440 (24 minutes).