From owner-freebsd-isp Sat Mar 1 01:47:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA26105 for isp-outgoing; Sat, 1 Mar 1997 01:47:01 -0800 (PST) Received: from bsd1.nyct.net (myj@bsd1.nyct.net [204.141.86.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA26100 for ; Sat, 1 Mar 1997 01:46:58 -0800 (PST) Received: from localhost (myj@localhost) by bsd1.nyct.net (8.8.5/8.8.5) with SMTP id EAA19693; Sat, 1 Mar 1997 04:46:57 -0500 (EST) Date: Sat, 1 Mar 1997 04:46:56 -0500 (EST) From: Paul Sandys To: freebsd-isp@freebsd.org cc: Nick Merrill Subject: Re: how to make sure unattatched processes die when a user logs out In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 1 Mar 1997, Justen M. Stepka wrote: > Date: Sat, 1 Mar 1997 00:07:45 +0000 (GMT) > From: "Justen M. Stepka" > To: Nick Merrill > Cc: freebsd-isp@freebsd.org > Subject: Re: how to make sure unattatched processes die when a user logs out > > > > On Fri, 28 Feb 1997, Nick Merrill wrote: > > > I was wondering how most people handle this.. like if people try to run screen > > and leave 10 irc sessions running when they're not even logged in. > > Set a limit on the number of process limit to like 3 :) That's not gonna work :) Here's what I did to the screen sources: In config.h: #undef LOGOUTOK # don't let lusers hide on your system :) In screen.c process.c and socket.c comment out nearly everything that says Detach(D_WHATEVER) I've disabled everything (except "screen -d" which is to cool to be disabled :-) ) this way 3 months ago, and nobody is leaving screen sessions on my "shell account" machine anymore. Paul <-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-> < myj@nyct.net Paul Sandys | New York Connect http://www.nyct.net > < network operations manager | Total Solution provider 212-293-2620 > <-------------------------------------------------------------------------> < " BRINGING NEW YORK THE INTERNET SERVICES IT DESERVES " > <-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_->