From owner-freebsd-questions Wed Apr 28 8: 8:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from emerald.ts.ee (emerald.ts.ee [194.204.16.66]) by hub.freebsd.org (Postfix) with ESMTP id 7B95014E31 for ; Wed, 28 Apr 1999 08:08:02 -0700 (PDT) (envelope-from r.jemets@ts.ee) Received: from vegas.sadam (vegas.sadam [192.168.10.250]) by emerald.ts.ee (8.8.3/8.7.3) with ESMTP id SAA10278; Wed, 28 Apr 1999 18:07:59 +0300 Received: from white (rjemets.sadam [192.168.10.19]) by vegas.sadam (8.8.7/8.8.7) with SMTP id SAA02368; Wed, 28 Apr 1999 18:07:52 +0300 Message-Id: <3.0.6.32.19990428180900.00bac3f0@vegas> X-Sender: r.jemets@vegas X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Wed, 28 Apr 1999 18:09:00 +0300 To: pete collins From: Roman Jemets Subject: Re: purge ttys Cc: freebsd-questions@freebsd.org In-Reply-To: <37272226.ADC84F1D@ocsny.com> References: <3.0.6.32.19990428171212.00d4ea30@vegas> <3.0.6.32.19990428174205.00bad710@vegas> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 10:58 28.04.99 -0400, you wrote: >yes these are all abnormal shell terminations over the course of time >i'm not sure if utmp is cleared over time > >because i ran out of ttys yesterday >i killed a bunch of sshd's that were lingering to clear things up a little > >i know a reboot will clear it out >i'm gonna look for a way to claer it i'm sure you can > >thanks > >pete > You may create a cron script, that will kill other users' processes, which happened to be detached from terminals. you may also filter those processes to sshd ones. P.S. this may kill eggdrop (an IRC bot) processes also :)) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message