[CentOS] setting up auto logout in CentOS 6

Wed Jun 8 20:42:12 UTC 2016
Vanhorn, Mike <michael.vanhorn at wright.edu>

I would like to have my lab workstations logout a session after the person has been idle for a certain period of time. After some searching on the web, I got into 


and set the default value of max_idle_action to “forced-logout”:

          <locale name="C">
             <short>The action to take after the maximum idle time</short>
             <long>The name of the action to take when the maximum allowed idle time has been reached. The Delay is specified in the "max_idle_time" key. Allowed values are: logout, forced-logout. An empty string disables the action.</long>

but the system is not logging me out after the max_idle_time. Is there something I’m missing?


Mike VanHorn
Senior Computer Systems Administrator
College of Engineering and Computer Science
Wright State University
265 Russ Engineering Center
michael.vanhorn at wright.edu