Ghosted logins in w/who

Jeremy Chadwick jdc at koitsu.org
Tue Apr 9 02:28:38 UTC 2013


On Mon, Apr 08, 2013 at 08:56:42PM -0500, damonray at mac.hush.com wrote:
> I recently upgraded to FreeBSD 9.1-STABLE, and there was a strange
> added side effect.
> Users that telnet into the machine seem to have their logins forever
> ghosted in who/w.
> If a user connects via telnet, then logs out, their login still
> remains in the w/who. If another user logins in with the pty they had,
> whatever they do also shows up in the ghosted w/who of the previous
> user using that pty.
> For example:
> User X logs in, runs BitchX. Detaches the process and logs out.User Y
> logs in, gets assigned User X's previous pty, who/w now reports that
> user is running BitchX. That user has no access to the BitchX session
> or anything, it's just being displayed weird in who/w.
> I seem to remember this problem like a decade ago and I had written a
> script or there was a script that passed around called clearlogin.
> Any ideas? Thanks all!Damon

Is GNU screen involved?  It sounds like it.

Try to repeat the problem without GNU screen.

-- 
| Jeremy Chadwick                                   jdc at koitsu.org |
| UNIX Systems Administrator                http://jdc.koitsu.org/ |
| Mountain View, CA, US                                            |
| Making life hard for others since 1977.             PGP 4BD6C0CB |


More information about the freebsd-stable mailing list