Linux / UNIX Tech Support Forum
This is a discussion on timer for logging out from PuTTy within the Shell scripting forums, part of the Development/Scripting category; hey all, Is there a way to set a timer that after x minutes/hours to log out from PuTTy by ...
|
|||||||
| Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| Sponsored Links | ||
|
|
|
||||
|
You need to append TMOUT=300. This will set for all users. I suggest add something as follows to your ~/.bash_profile or ~/.bashrc
Code:
echo 'export TMOUT=300' >> ~/.bash_profile 300 seconds == 5 minuets to auto logout.
__________________
Vivek Gite Linux Evangelist |
![]() |
| Tags |
| .bashrc , /etc/profile , bash , shell , shell auto logout , tmout |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Inactivity timer for lighttpd | petu | Web servers | 0 | 11-03-2008 12:49 PM |
| Logging File Accesses | madz | Shell scripting | 2 | 08-11-2006 01:54 AM |
| Download with timer? | marinm | Shell scripting | 6 | 22-01-2006 11:53 PM |
| MRTG stops logging | nathan86 | Linux software | 12 | 23-03-2005 07:14 PM |
| FreeBSD putty home key problem | chiku | All about FreeBSD/OpenBSD/NetBSD | 2 | 03-02-2005 05:10 PM |