Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 2000 21:30:54 +0100 (CET)
From:      Torbjorn Kristoffersen <sgt@netcom.no>
To:        FreeBSD-Hackers <hackers@FreeBSD.org>
Subject:   Kernel question (detecting a user log-on)
Message-ID:  <Pine.BSF.4.30.0012072122130.1136-100000@hal.netforce.no>

next in thread | raw e-mail | index | archive | help
Hi Hackers,

I'm wondering about two things, how does the kernel detect that a
user logs on a tty, and what should I know if I was to write a kernel
module that detects it (And does something about it)? Must I
read the TCP in-packets for port 23 and detect if a user logged on?
I'm pretty unsure about this..

I know it could easier be implemented in userland by reading the
_PATH_UTMP file, but I'm more interested in doing it in kernel space.

Thanks in advance
--
Torbjorn Kristoffersen
sgt@netcom.no




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.30.0012072122130.1136-100000>