AIX: How to set automatic logoff (only for terminals)

Edit the /etc/security/.profile file to include an automatic logoff value for all users, as in the following example:
TMOUT=600 ; TIMEOUT=600 ; export readonly TMOUT TIMEOUT
The number 600, in this example, is in seconds, which is equal to 10 minutes. However, this method only works from the shell.

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Part 1, The basics of network troubleshooting
Viewed 7091 times since Tue, May 22, 2018
Configure log file for cron daemon on AIX
Viewed 11877 times since Thu, Feb 21, 2019
IBM AIX multipath I/O (MPIO) resiliency and problem determination
Viewed 15325 times since Wed, May 30, 2018
AIX: Script to check if all paths are consistent and available
Viewed 4141 times since Tue, Jun 12, 2018
n a perfect world....rootvg would always reside on hdisk0
Viewed 3132 times since Thu, Jun 6, 2019
AIX disk queue depth tuning for performance
Viewed 17878 times since Thu, Jan 16, 2020
Burn Image to DVD in AIX
Viewed 14402 times since Thu, Sep 20, 2018
Unlock User ID in IBM AIX
Viewed 16840 times since Mon, May 28, 2018
Getting list users and groups in AIX
Viewed 5250 times since Mon, May 28, 2018
Script to make mksysb backup from NIM to LPAR
Viewed 4438 times since Thu, Feb 21, 2019