Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Search Forums

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: cjc
Forum: Programming/Scripts 11th November 2012, 11:46
Replies: 2
Views: 2,136
Posted By cjc
Smile You can also use the: Code: if [ -n...

You can also use the:

Code:
if [ -n "$SSH_CONNECTION" ]; then export TMOUT=300; fi

Logout ssh user automatically after specified time
This will check if a user is logged in using ssh and will...
Forum: Programming/Scripts 7th November 2012, 12:35
Replies: 2
Views: 2,136
Posted By cjc
Post Hi, You can change the specific users under...

Hi,

You can change the specific users under the home directory
"~/.bash_profile"this file, plus
"export TMOUT = 3600"
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT +2. The time now is 01:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.