Last active
July 1, 2020 04:02
-
-
Save kgriffs/0b27b66f2862537962bb057a313368c1 to your computer and use it in GitHub Desktop.
Automatically Log Out Bash Session (Also SSH) for All Users - Linux Server (Tested on Ubuntu 18.04)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sudo vim /etc/profile.d/autologout.sh | |
TMOUT=900 | |
readonly TMOUT | |
export TMOUT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment