>I notice that getty has a timeout - does this take care of inactivity
>in the shell?

No.

>And I also noticed that ash has no timeouts in the source at all.

Completely normal.

>I can code an idle timeout into ash, but I wanted to check...

Please don't.

Idle timeouts are always implemented outside the shell.
Otherwise, consider how one can circumvent them by typing
something highly secret, like "ed".  (Pick your favorite
interactive tool here.)

The idle timeout program (and I forget the name of the common
one) just watches the TTY accessed times, and if they stop moving
they kill the session.

-- Jim




_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to