How do I configure the shell to logout automatically after a period of idle time in Red Hat Enterprise Linux?

Updated -

Issue

I need to configure the shell to logout automatically after a period of idle time

Environment

Red Hat Enterprise Linux, all versions

Resolution

It may be necessary for security reasons to have an inactive user logged out after a period of inactivity from a shell. This can be accomplished by setting an environment variable.The configuration for dif...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In