Secure Your Linux Server: How to Auto Logout Idle Users on Linux

Опубликовано: 29 Апрель 2026
на канале: SysAdmin Xplained
80
2

🔐 How to Auto Logout Idle Users in Linux | TMOUT Configuration for CLI Timeout

In this video, we’ll walk you through a simple but important Linux hardening step — setting a command-line inactivity timeout using the TMOUT variable.

By configuring TMOUT in the /etc/profile file, you can automatically log out idle users after a specific time (e.g., 300 seconds). This helps prevent unauthorized access from unattended terminal sessions, especially for root and other privileged users.

Support SysAdmin Xplained for a Good Cause! 🌟 https://buymeacoffee.com/sysadminxpla...


Follow the SysAdmin Xplained 👨‍💻 👩‍💻 channel on WhatsApp:
https://www.whatsapp.com/channel/0029...