Note: The /etc/profile.d/tmout.sh file applies user-specific timeout.
2. Edit this line by changing the amount of seconds from the default 900 to the desired timeout limit:
TMOUT=900
3. Save and close the file.
Any new sessions opened will respect the newly configured timeout value.