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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content