Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 2003 00:57:31 +0200 (CEST)
From:      Lukasz Wasikowski <idaho@kochana.org>
To:        freebsd-questions@freebsd.org
Subject:   Logging users activity with termlog
Message-ID:  <20031008004255.L48093@kochana.org>

next in thread | raw e-mail | index | archive | help
Hello!

FreeBSD 4.9-RC. termlog 1.0.2-STABLE. I want to log users activity on my
box.

1. I'd like to run termlog -u UID as soon as user with UID log in. How
should I do it?

2. I noticed that running "screen program" and then leaving it (quit, not
detach) makes termlog to quit with:

termlog: fatal: unable to poll device.: Bad file descriptor

User is still logged in. The same quit reason is when user don't use
screen and logout. What's wrong?

3. -t switch should put timestamps in the output file but it doesn't.
Files created with -t and without it are identical.

Maybe there is a better way to log users activity?

-- 
Greetz, Idaho



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031008004255.L48093>