Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3486
  • Last Modified:

Shell will time out in 60 seconds.

"Shell will time out in 60 seconds.
Timed out waiting for input."

How do you put ksh for timing out when a session has been idle for 10 minutes and putting the session onto the user's home i.e. jdoe:prod1:/home/jdoe> ?  
This should be active when a user su - root.
When it is on the user's home i.e. jdoe:prod1:/home/jdoe>, there is no need to put ksh for timing out.

0
JohnLucania
Asked:
JohnLucania
  • 2
2 Solutions
 
gheistCommented:
Somebody who enabled this timeout considered it effective.
ksh manual page on your system describes the special purpose of TMOUT variable.
0
 
Sandy_itCommented:
In the user's .profile file for which you want the shell to timeout, put this
export TMOUT=600
This is to set 600 seconds / 10 minutes as Timeout.

Rgds
-Sandy
0
 
gheistCommented:
If admin set timeout readonly, then you have no chance.
Some do run "cat" inside such environment
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now