One of our regular reader hall sends an interesting question:
I work for a small company and most user login to centralized Linux server. Iâ€™d like to
automatically log out all inactive users from server for various reasons. How do I disconnect inactive user sessions?
To be frank, I donâ€™t have any clear cut answer to question. There are at least 4-5 shells installed on a typical Linux installation. Also most user have has control over their own environment and user can switch to a different shell.
I hope our reader or seasoned UNIX admin can help to answer this question. Please share the experiences and advice in the comments.
Update: Checkout answer below in comments!