Shell will time out in 60 seconds.

Posted on 2006-03-23
Last Modified: 2013-11-17
"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.

Question by:JohnLucania
    LVL 61

    Expert Comment

    Somebody who enabled this timeout considered it effective.
    ksh manual page on your system describes the special purpose of TMOUT variable.
    LVL 6

    Accepted Solution

    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.

    LVL 61

    Assisted Solution

    If admin set timeout readonly, then you have no chance.
    Some do run "cat" inside such environment

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
    Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Video by: Phil
    This video goes over how to configure and start a jail in FreeBSD.  This video is meant to supplement the article included with this course.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now