Closed troglobit closed 3 years ago
This can be achieved by setting the environment variable TMOUT in /etc/profile (systemwide) or ~/.profile (per-user)
For example, to set a timeout of 2 minutes, add the following line:
export TMOUT=120
Great work on this, thanks closing!
Like SSH logins, many customers today require support for automatically logging out even inactive console logins.