Subject: Re: Users stay logged in with screen?
To: Jukka Marin <email@example.com.FI>
From: Stephen Champion <firstname.lastname@example.org>
Date: 01/19/1995 02:19:40
> I'm running NetBSD 1.0 and screen.
> Sometimes, when a user logs off, the system still things he/she is logged
> in. last and w commands still list the user as logged in. However, ps
> doesn't show any processes for the user. Nor is there a screen process
> running for that user.
Hmm.. I might be NetBSD's odd (that desciptor has a small scope :^)
locations of utmp, wtmp and lastlog, or the owner/modes of those files or screen.
I had a vaguely similar problem in that xterm didn't make entries in these files.
I solved it for xterm by recompiling with NetBSD's locations (as defined in
> It seems that the system notices the user is gone only when someone logs
> on via the same terminal line.
Sounds like it's not removing the entry from utmp. Might want to check
out why it would make but not remove an entry. What happens when you try to
'write' to an almost logged out user's tty? Be interesting to see how it handles
that... error message? complete confusion?
Incidentally, the xterm I recompiled is available for ftp from
// Stephen Champion Amiga 3000/25 NetBSD 1.0
// email@example.com Binary Arithmetic Student
// firstname.lastname@example.org Only the ignorant know everything.