set bash variable

Linux logged out a user automatically

by Vivek Gite on November 6, 2007 · 4 comments

Q. We have a few users who frequently forget to log out and I’d like to force them or automatically log out a user in case of inactivity detected. How do I force user to be logged out automatically? A. BASH provides TMOUT variable. It is necessary for security reasons to have an inactive user [...]

{ 4 comments }