From owner-freebsd-questions Mon Nov 4 9:58:51 2002 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 724E237B401 for ; Mon, 4 Nov 2002 09:58:50 -0800 (PST) Received: from users.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8AAE43E6E for ; Mon, 4 Nov 2002 09:58:43 -0800 (PST) (envelope-from munk@users.munk.nu) Received: from users.munk.nu (localhost [127.0.0.1]) by users.munk.nu (8.12.5/8.12.3) with ESMTP id gA4I074g002476 for ; Mon, 4 Nov 2002 18:00:08 GMT (envelope-from munk@users.munk.nu) Received: (from munk@localhost) by users.munk.nu (8.12.5/8.12.3/Submit) id gA4I07K6002475 for freebsd-questions@freebsd.org; Mon, 4 Nov 2002 18:00:07 GMT Date: Mon, 4 Nov 2002 18:00:06 +0000 From: Jez Hancock To: FreeBSD questions List Subject: Re: user dead but appears still logged in in 'w' output Message-ID: <20021104180006.GA2434@users.munk.nu> Mail-Followup-To: FreeBSD questions List References: <20021104113116.GA1080@users.munk.nu> <200211040734.49151.ph1@cogeco.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211040734.49151.ph1@cogeco.ca> User-Agent: Mutt/1.4i 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 On Mon, Nov 04, 2002 at 07:34:49AM -0500, david wrote: > On Monday 04 November 2002 06:31, Jez Hancock wrote: > > I have a problem with a user who was idle for a long period > > of time which I killed off by terminating the associated > > login process for that user's ssh connection. > > Try would also have a shell session going, kill that as well. Well, what I actually did was find out the login shell session pid belonging to the user in question and 'kill -9' that proc - after this the rest of the processes spawned by the login did all die as well. Unfortunately the user still appeared to be logged in in 'w' output. Whether you can class it as a 'bug' or not I don't know, since killing a user's login shell isn't the de facto method of forcefully logging a user out (or is it!?;) I've been running idled all day though and it seems to be keeping things tidy, nice utility. cheers, Jez To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message