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
SSH Essentials: Working with SSH Servers, Clients, and Keys
Viewed 5847 times since Wed, Jun 27, 2018
10 AIX Commands to Add to Your Toolbox
Viewed 6468 times since Sat, May 19, 2018
IVM and VLAN Tagging
Viewed 11632 times since Mon, May 28, 2018
Getting bosboot errors, don’t reboot just yet
Viewed 4002 times since Tue, Apr 16, 2019
AIX POWERHA/HACMP: Basic commands
Viewed 6908 times since Sat, Jun 2, 2018
Part 1, Network overview - Monitoring the hardware
Viewed 6184 times since Mon, Jun 4, 2018
How to check dual path in AIX
Viewed 15937 times since Fri, Jun 8, 2018
Monitor logfiles and command output on AIX using multitail.
Viewed 3270 times since Thu, Feb 21, 2019
AIX rootvg Mirroring
Viewed 6108 times since Mon, May 21, 2018
AIX Booting
Viewed 12029 times since Tue, Apr 16, 2019