How should I configure for screen lock / auto logout?
Issue
- Please let us know how to lock the screen automatically on not only remote connection like ssh but also console.
- We would like to start logging out users after a fixed period of inactivity, in particular console logins which are often root.
- "lock the screen" means to include such as "auto logout"
- SSH, Physical Display and X windows is enough.
Environment
- Red Hat Enterprise Linux 4
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.