Subject: Re: better w(1)
To: Roger Brooks <R.S.Brooks@liverpool.ac.uk>
From: Ignatios Souvatzis <firstname.lastname@example.org>
Date: 06/21/1999 23:14:09
On Mon, Jun 21, 1999 at 10:09:33PM +0100, Roger Brooks wrote:
> But if xterm sessions don't create utmp and wtmp entries, then you've no
> record that the user had a session on the machine (apart from process
> accounting). And if you are in an environment where you have to justify
> the existence of your unix system, there's a danger that management-types
> can say "look, there's no-one using it".
xterm != xterm session.
you have to somehow start the xterm.
If you do this from a ssh, the shell starting it will have an utmp record.
If you do this from a console session, the console shell will have an utmp
If you do this from xdm, xdm will have created utmp records (via the
GiveConsole and TakeConsole scripts).