bash $TMOUT

Mike McGrath mmcgrath at redhat.com
Wed Jul 23 20:50:10 UTC 2008


On Wed, 23 Jul 2008, Ricky Zhou wrote:

> On 2008-07-23 09:07:58 AM, Mike McGrath wrote:
> > On Wed, 23 Jul 2008, Jorge Bras wrote:
> > > If people start using screen they just have to reconnect, et voila, continue
> > > to work.
> > > At least for me, screen was the solution.
> A downside with that solution is that if I detach a screen session
> and end my SSH session, the next time I reattach, I lose my SSH agent,
> and that means having to type SSH passwords repeatedly until I
> completely destroy and reconstruct the screen session.
>
> > Even in screen's case it'd kill the session during the timeout, unless
> > someone unset $TMOUT
> >
> > Perhaps thats what we'll do, and if people have a problem with it, they
> > can set their own $TMOUT value in their .bashrc file.
> Hey, if it's not particularly frowned upon to override that value (with
> the knowledge that you have to be extremely careful in locking your
> laptop/desktop), then I'm all for it :-)
>

yeah, so far nothing's really "happened" because of bad voodoo.  I'm not
quite convinced a firm policy will help anything but at a minimum I think
$TMOUT will help clean up old sessions.

	-Mike




More information about the Fedora-infrastructure-list mailing list