Discussion:
Linux Shell timeout tracking help
(too old to reply)
dlnk+ (Krishna)
2004-04-15 00:54:29 UTC
Permalink
Hi,

I have a following question can anyone please help me.

I am trying to get login on bootup work on Monta Vista work.
I could get my login process get invoked on bootup and also be able
to
logout when ever required but i still have the following issue of
getting
linux shell timed out and lead to a login prompt when there is no
activity
on the linux shell.

I need a way to keep track of the linux shell idle timeout value so
that if
the linux shell is idle for sometime then i can invoke my login
process and
get back to loginprompt.

Is there any way on Monta Vista Linux where we can tract the Linux
Shells
idle timeout and so that if the linux shell is idle for certain
time then we can invoke the login process agains


Thanks in Advance
Krishna
Naveen
2004-04-15 12:29:27 UTC
Permalink
Post by dlnk+ (Krishna)
Hi,
I have a following question can anyone please help me.
I am trying to get login on bootup work on Monta Vista work.
[Snip]
Post by dlnk+ (Krishna)
Is there any way on Monta Vista Linux where we can tract the Linux
Shells
idle timeout and so that if the linux shell is idle for certain
time then we can invoke the login process agains
Try adding this line to your .bash_profile

export TMOUT=60

This would set the idle time to 60 seconds. If there is no user input
on the terminal for more than 1 minute, your session get closed.

Regards
Naveen.

Loading...