From owner-freebsd-questions@FreeBSD.ORG Thu Dec 16 16:04:31 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2078016A4CE for ; Thu, 16 Dec 2004 16:04:31 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9945543D45 for ; Thu, 16 Dec 2004 16:04:30 +0000 (GMT) (envelope-from lodriguss@gmail.com) Received: by rproxy.gmail.com with SMTP id 40so604257rnz for ; Thu, 16 Dec 2004 08:04:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=EGEEu88gU3FVqs4+imLBwD+LQEvzqQZ1KVo8oiYxucMskryGuClnwO7WJqQN2PoXCIx/cUONgNV8b8UVYKzraJV8OXi0vLRjOb7u+f8SauNZ5XuIpx3zp2sKBNg9/lo2Lys4pVdAQajm6C2HxjKAuj/q8Eq4YAHoQxLN0OnWlrY= Received: by 10.38.206.35 with SMTP id d35mr171806rng; Thu, 16 Dec 2004 08:04:30 -0800 (PST) Received: by 10.38.179.41 with HTTP; Thu, 16 Dec 2004 08:04:30 -0800 (PST) Message-ID: Date: Thu, 16 Dec 2004 11:04:30 -0500 From: Brandon Lodriguss To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: user disappears from w and who X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Brandon Lodriguss List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 16:04:31 -0000 Hello, I'm wondering if anyone else has witnessed this phenomenon in FreeBSD 5.3-Release who could perhaps tell me if it's an oddity/configuration error with my system, or a problem with this version. I had a 4.10 box that this does not happen on, similarly configured. The steps to reproduce the problem: Log in via ssh. Type login, log in again to a second shell within your existing shell. Type w or who. At this point, no IP or hostname should be listed for you, and you only show up once. This is normal behavior, and has happened in all versions of fbsd since i can remember. Type exit to return to your original shell. Do a w or who now... At this point on my system, you are no longer listed in w or who, and the user count in w is incorrect. The only indication that you are still logged in is an active sshd process/connection. If you type last , it does not say "still logged in...". You can, however, snoop on the original tty as root using the watch command, even if the user is invisible (provided you noticed what tty the user was assigned before he went invisible.) I have heard that wtmp is slow to update, but have left myself logged in "invisible" like this for upwards of 15 minutes at a time, and the problem does not correct itself. Has anyone seen this behavior before? Did I misconfigure something? Thanks! Brandon Lodriguss