From owner-freebsd-questions Wed Jun 10 17:01:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25455 for freebsd-questions-outgoing; Wed, 10 Jun 1998 17:01:40 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dc1.mfn.org (dc1.mfn.org [204.238.179.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA25409 for ; Wed, 10 Jun 1998 17:01:20 -0700 (PDT) (envelope-from sysadmin@mfn.org) Received: from slowbob.mfn.org (unverified [204.238.179.16]) by mail.mfn.org (EMWAC SMTPRS 0.83) with SMTP id ; Wed, 10 Jun 1998 19:03:43 -0500 Received: by slowbob.mfn.org with Microsoft Mail id <01BD94A2.6B05B1B0@slowbob.mfn.org>; Wed, 10 Jun 1998 19:03:13 -0500 Message-ID: <01BD94A2.6B05B1B0@slowbob.mfn.org> From: "J.A. Terranson" To: "'don morrison'" , Min Huang , "questions@FreeBSD.ORG" Subject: RE: How to kick this user out? Date: Wed, 10 Jun 1998 18:56:01 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Actually, you will probably want to write a script to run via cron: this will automate the process of kicking idle users without you having to keep yourr own eyes on it. Most users won't carp to loudly about a 3 hour kick cycle... J.A. Terranson sysadmin@mfn.org -----Original Message----- From: don morrison [SMTP:dmorrisn@u.washington.edu] Sent: Wednesday, June 10, 1998 3:15 AM To: Min Huang; questions@FreeBSD.ORG Subject: Re: How to kick this user out? >when using "who", everythink is ok, but use "w", he's idel and >do nothing. How to kick this user out of my system? Use the 'ps' command (e.g. 'ps -ax') to find the user's process id, then use the 'kill' command on that process to kick the user off the system. A 'kill -9' may be necessary...see 'man ps' and 'man kill' for more details... 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