• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 635
  • Last Modified:

How to set session timeout in Linux?

How do I permanently set a 30 second timeout to automatically log users out in Linux?

Cheers
GMac
0
gerrymac1943
Asked:
gerrymac1943
1 Solution
 
woolmilkporcCommented:
export TMOUT=30

in /etc/profile

To keep users from changing or unsetting it add

readonly TMOUT
0
 
gerrymac1943Author Commented:
genius!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now