Date: Mon, 08 Apr 2013 20:56:42 -0500 From: damonray@mac.hush.com To: freebsd-stable@freebsd.org Subject: Ghosted logins in w/who Message-ID: <20130409015643.0817D10E2C8@smtp.hushmail.com>
next in thread | raw e-mail | index | archive | help
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 From owner-freebsd-stable@FreeBSD.ORG Tue Apr 9 02:28:38 2013 Return-Path: <owner-freebsd-stable@FreeBSD.ORG> Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D0AF6BC9 for <freebsd-stable@freebsd.org>; Tue, 9 Apr 2013 02:28:38 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from qmta01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:43:76:96:30:16]) by mx1.freebsd.org (Postfix) with ESMTP id AF439A46 for <freebsd-stable@freebsd.org>; Tue, 9 Apr 2013 02:28:38 +0000 (UTC) Received: from omta20.emeryville.ca.mail.comcast.net ([76.96.30.87]) by qmta01.emeryville.ca.mail.comcast.net with comcast id Mc0a1l00J1smiN4A1eUeG4; Tue, 09 Apr 2013 02:28:38 +0000 Received: from koitsu.strangled.net ([67.180.84.87]) by omta20.emeryville.ca.mail.comcast.net with comcast id MeUd1l0061t3BNj8geUdD6; Tue, 09 Apr 2013 02:28:37 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 39BCE73A39; Mon, 8 Apr 2013 19:28:37 -0700 (PDT) Date: Mon, 8 Apr 2013 19:28:37 -0700 From: Jeremy Chadwick <jdc@koitsu.org> To: damonray@mac.hush.com Subject: Re: Ghosted logins in w/who Message-ID: <20130409022837.GA95155@icarus.home.lan> References: <20130409015643.0817D10E2C8@smtp.hushmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130409015643.0817D10E2C8@smtp.hushmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1365474518; bh=N0YrGEbLFaig5NDeAvFxLYQniyRikeI6dkKHvWJiMug=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=O3w+Yy/l70vZ/8RqpAfIqul82ixIEAlr8a5gLTGdJkINFU4Yt2HtfRRLjowT+7Ro+ cVXGSHYb8FiBLyHdukWKz1AdqMIVgDCQ/H5ZsKJsiEzzMaA7u68YLOgIpgZl+NhjF8 VtI6+5qUPPRMQ3iexN4hVyYH5jpeUqD6AXh3IjjXqTgdN1XSydTqBx8pdvcn2hMhU6 6jjM8Pry6zE0f6AIdFKbR1n3amESi8l9ToFoPph6sNq5qVhjav2e1S77I0eIAZ7NHW rDJGVwHVesu91+zpTPAsHAnVdw4Dfne+3W5RFROmZTIAwIN5z/a6A3RbcWSCcsV0Mh nxWT1D7QzyEhw== Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable> List-Post: <mailto:freebsd-stable@freebsd.org> List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 09 Apr 2013 02:28:38 -0000 On Mon, Apr 08, 2013 at 08:56:42PM -0500, damonray@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@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130409015643.0817D10E2C8>