Views:

To temporarily change the timeout session:

  1. Login as root user via SSH.
  2. Set the value of TMOUT to "null # TMOUT=".
  3. Check the value of TMOUT. It should now be blank, "# echo $TMOUT".

To permanently change the timeout session:

  1. Login as root user via SSH.
  2. Edit root user’s .bashrc file, "# vim ~/.bashrc".
  3. Look for the line that exports the value of TMOUT,

    # export TMOUT = `/opt/TrendMicro/GoldenGate/bin/glcfg.sh val bash timeout`

  4. Comment out the line to disable it,

    # export TMOUT=`/opt/TrendMicro/GoldenGate/bin/glcfg.sh val bash timeout`

  5. Save and exit the vim editor.
  6. Log off your current session and log back in for the changes to take effect.