ITEM: D7906L
How do I auto log off inactive users
Question:
How can I set the shell to time out after a certain period of time and
automatically log off inactive users?
Response:
Edit the /etc/profile file and uncomment the "TMOUT" variable, then
add it to the "export" line. This determines the number of minutes a
shell can be inactive before being automatically terminated.
This will be affective for all users. If you want it only for
particular users, it must be added to the user's own .profile (although
they then have the ability to remove it themselves) or you will have
to write shell code to check the user name in the /etc/profile file
before setting the variable.
Support Line: How do I auto log off inactive users ITEM: D7906L
Dated: September 1993 Category: N/A
This HTML file was generated 99/06/24~13:30:55
Comments or suggestions?
Contact us