From owner-freebsd-questions Sat Aug 25 23:35:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from phoempc.com (ool-18bdd9d8.dyn.optonline.net [24.189.217.216]) by hub.freebsd.org (Postfix) with ESMTP id 796F537B403 for ; Sat, 25 Aug 2001 23:35:10 -0700 (PDT) (envelope-from phoem@phoempc.com) Received: (from phoem@localhost) by phoempc.com (8.11.4/8.11.4) id f7Q6fn509905; Sun, 26 Aug 2001 02:41:49 -0400 Date: Sun, 26 Aug 2001 02:41:49 -0400 From: Jordan Newman To: Chris Collins Cc: questions@FreeBSD.ORG Subject: Re: logging out a ghost user Message-ID: <20010826024149.A9865@phoempc.com> Reply-To: phoem@phoempc.com References: <20010826002259.W451-100000@bsduser.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010826002259.W451-100000@bsduser.ca>; from collins@bsduser.ca on Sun, Aug 26, 2001 at 12:30:36AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Another suggestion would be to write to the user on the correct tty and you will get an input output error and the user will be logged out. Jordan * Chris Collins (collins@bsduser.ca) wrote: > > > Hello > > I have a very simple question. > > How do I logoff a user that has ssh to my machine? > > Here is what happens. > > Sometimes I will ssh to my BSD machine from work but as expected my > windows machine at work dies and needs a reboot. I then log back into my > machine and find that I am still logged in. How do I disconnect or logout > that session that I did not disconnect from properly before? > > Any help here would be appreciated. > > Thanks > Chris > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message