From owner-freebsd-isp Sat Jul 14 13:24:32 2001 Delivered-To: freebsd-isp@freebsd.org Received: from bsdie.rwsystems.net (bsdie.rwsystems.net [209.197.223.2]) by hub.freebsd.org (Postfix) with ESMTP id 3302837B401 for ; Sat, 14 Jul 2001 13:24:23 -0700 (PDT) (envelope-from jwyatt@rwsystems.net) Received: from bsdie.rwsystems.net([209.197.223.2]) (1789 bytes) by bsdie.rwsystems.net via sendmail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) id for ; Sat, 14 Jul 2001 15:19:47 -0500 (CDT) (Smail-3.2.0.111 2000-Feb-17 #1 built 2000-Jun-25) Date: Sat, 14 Jul 2001 15:19:46 -0500 (CDT) From: James Wyatt To: =?windows-1257?Q?Mat=EEss_Elsbergs?= Cc: Marc Veldman , Kal Torak , freebsd-isp@freebsd.org Subject: Re: Background processes limiting In-Reply-To: <002801c10ced$c1a0ae00$9653949f@lv> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 14 Jul 2001, [windows-1257] Mat=EEss Elsbergs wrote: > >Couldn't you just add a priority=3D15 > >(or any high 'nice' value) to the login class for > >the free shell users ? >=20 > Of course I can, for I am the root :-), but that's not what I want. >=20 > Since I started this thread, I was sitting at the manual, searching inter= net > for hours, but I didn't find anything on this. I guess, there must be a m= an > who 'knows how' and is willing to say the right words. I'm sure there is a man or woman on the list who can answer it, but they may have already killed the thread or be on vacation... I'll try to help. I have seen such things done in .logout scripts, but usually users can remove the .logout file to prevent the action. One approach might be to have a script run from cron that finds processes with a PPID of "1" (parent now init) and owned by a regular login user and kills them. Another might be to look for regular-user process without an associated tty device. Hope this helps... - Jy@ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message