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
There are no attachments for this article.
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
Restoring mksysb
Viewed 3128 times since Wed, May 30, 2018
How to Analyze or Read OS Watcher Output in three easy steps -- With Example ?
Viewed 18069 times since Thu, Jun 21, 2018
How to Investigate a System Reboot
Viewed 4114 times since Mon, Jul 16, 2018
Script to make mksysb backup from NIM to LPAR
Viewed 3139 times since Thu, Feb 21, 2019
Part 2, Monitoring memory usage (ps, sar, svmon, vmstat) and analyzing the results AIX7
Viewed 11880 times since Wed, Jun 19, 2019
AIX Full memory dump configure
Viewed 2988 times since Mon, Jul 16, 2018
Changing ’defined’ or ’missing’ hard disk states to ’Available’ in IBM Smart Analytics System for AIX environment
Viewed 2085 times since Thu, Sep 20, 2018
O’Reilly’s CD bookshelf
Viewed 10997 times since Wed, Jun 27, 2018
How To Mirror Your Root Disk On AIX (a.k.a. rootvg)
Viewed 4497 times since Mon, May 21, 2018
Part 3, Tuning swap space settings AIX7
Viewed 8614 times since Wed, Jun 19, 2019