From owner-freebsd-questions Fri Mar 20 21:33:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA20464 for freebsd-questions-outgoing; Fri, 20 Mar 1998 21:33:26 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from c00163-100lez.eos.ncsu.edu (c00163-100lez.eos.ncsu.edu [152.1.29.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA20445 for ; Fri, 20 Mar 1998 21:33:21 -0800 (PST) (envelope-from arlankfo@eos.ncsu.edu) From: arlankfo@eos.ncsu.edu Received: (from arlankfo@localhost) by c00163-100lez.eos.ncsu.edu (8.8.4/UC02Jan97) id AAA09261; Sat, 21 Mar 1998 00:33:20 -0500 (EST) Message-Id: <199803210533.AAA09261@c00163-100lez.eos.ncsu.edu> To: freebsd-questions@FreeBSD.ORG Subject: "customizing" xdm Date: Sat, 21 Mar 98 00:33:20 EST Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The nice thing about Xsession is that you can start three processes simultaneously like so: program1& program2& program3 ...And when you kill program3, the Xsession script finishes and xdm massacres the other processes program1 and program2. All nice and good. However, when you include the same three lines in Xsetup0, all three programs continue to run even after the user logs in. And since root owns them, a user can't simply kill them in Xsession. My question is this: is there a simple Bourne shell command that will start a bunch of programs and then kill them off when a user logs in successfully (or when Xsetup0 finishes)? Andy L. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message