Date: Sat, 1 Mar 1997 04:46:56 -0500 (EST) From: Paul Sandys <myj@nyct.net> To: freebsd-isp@freebsd.org Cc: Nick Merrill <nick@calyx.net> Subject: Re: how to make sure unattatched processes die when a user logs out Message-ID: <Pine.BSF.3.95.970301035044.17813A-100000@bsd1.nyct.net> In-Reply-To: <Pine.BSF.3.95.970301000650.3796A-100000@bullfrog.ecpnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 1 Mar 1997, Justen M. Stepka wrote: > Date: Sat, 1 Mar 1997 00:07:45 +0000 (GMT) > From: "Justen M. Stepka" <raistlin@bullfrog.ecpnet.com> > To: Nick Merrill <nick@calyx.net> > 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 " > <-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_->
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970301035044.17813A-100000>