From owner-freebsd-questions Mon Mar 30 21:01:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA15345 for freebsd-questions-outgoing; Mon, 30 Mar 1998 21:01:20 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA15193 for ; Mon, 30 Mar 1998 21:00:42 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id VAA25463; Mon, 30 Mar 1998 21:00:33 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 30 Mar 1998 21:00:33 -0800 (PST) From: Doug White Reply-To: Doug White To: Laszlo Vagner cc: questions@FreeBSD.ORG Subject: Re: killall at logout In-Reply-To: <35206DA8.200AE3BD@mutsgo.dyn.ml.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 30 Mar 1998, Laszlo Vagner wrote: > Doug White wrote: > > > On Thu, 26 Mar 1998, laszlo vagner wrote: > > > > > I want to specify users who at logout will have all of their processes > > > killed so as to not leave any open processes after logout. > > > > > > how would i do this? > > > > Use the system logout shell file (/etc/csh.logout for CSH-derived shells) > > to run your kill commands. > > > > Doug White | University of Oregon > > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > > http://gladstone.uoregon.edu/~dwhite | Computer Science Major > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > ok, what about this... if a user doesnt log out but just drops the > connection and leaves processes > running. anyway to detect this and kill all his processes? The system does this automatically unless the program has been run with `nohup'. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message