Auto-dropping serial console connection: foo takeover
Robert Schulze
rs at bytecamp.net
Tue Jan 17 09:23:16 UTC 2017
Hi,
Am 17.01.2017 um 09:52 schrieb O. Hartmann:
> Hello list.
>
> Havin a FreeBSD based router connected to a service PC via serial console/null modem
> cabling, I realised that using "tip ucom1fast" gives me access to the console even if I
> simply close the terminal window (X11/xterm) and reconnect again on the very same box.
> [...]
>
> I tried to enbale auto logout on csh, which works, I also enabled auto logout on ssh
> sessions, which works well, too. But the FreeBSD "sh" seems to be acient in a way and
> doesn't provide any kind of auto logout or auto termination of the session neither did I
> have success with /etc/login.conf and setting ":idletime=10m:".
autologout works quite well via .cshrc, but only if there is no other
command running in the shell. I.e. it won't autologout if you - for
example - call top and then close your serial connection.
regards
Robert Schulze
More information about the freebsd-questions
mailing list