autologout: from serial console, how?

O. Hartmann ohartman at
Mon Oct 24 20:32:12 UTC 2016

I try to auto logout root from a serial console initiated via tip.

Therefore, I plaeced the following into /etc/login.conf (followed by cap_mkdb)

defaul: \

definig 600 seconds idletime before automatic logout.

That doesn't work!

I also placed for csh:

setenv autologout 5

in /etc/csh.cshrc for a 5 minutes idle time, I also set, just in case for using

export TMOUT=5

in /etc/profile.

Neither of these approaches result in the desired bahviour!

By accident, I left a console session open to a serial wired NanoBSD router project,
connecting via tip. After a reboot of the host which opened the session, I was able to
tip-login as root without being prompted for password. So I realised that there is no
autologout on FreeBSD's default installation for root or other tty/console connections to
a host.

Do I miss something here?

"Mastering FreeBSD and OpenBSD Security" seems to be outdated hopeless.

Please CC me, I do not subscribe the list.

Thanks in advance,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the freebsd-questions mailing list