Users & Access · about 1 min · 2 steps
Idle session timeout
Closes terminal sessions that have been left idle at the prompt, so a forgotten session can't be used by someone else.
Runs on
- Debian / Ubuntu: supported
- RHEL / Fedora: supported
- Alpine: supported
What it changes on your server
- Writes /etc/profile.d/shellbay-idle-timeout.sh, which sets TMOUT for sign-in shells. 0 minutes removes it.
- Only shells waiting at a prompt close; running programs and workflow runs aren't affected.
What Shellbay asks you
After how many idle minutes?
A shell that waits this long at its prompt without input signs out. 15 is common; 0 turns the timeout off. This includes your own Shellbay terminal sessions.
- Minutes
- A whole number from 0 to 1440. Default:
15
Example:
15
Steps
- Set the timeout
- Check the setting
Shellbay checks the server before the first step, and stops at the first step that fails.
When it's done
- From the next sign-in, shells idle at the prompt for ‹minutes› minutes sign out. Sessions already open aren't affected.