From owner-freebsd-net Sat Nov 6 3:23:41 1999 Delivered-To: freebsd-net@freebsd.org Received: from awfulhak.org (dynamic-87.max4-du-ws.dialnetwork.pavilion.co.uk [212.74.9.215]) by hub.freebsd.org (Postfix) with ESMTP id 0CEFB14DE1 for ; Sat, 6 Nov 1999 03:23:33 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id LAA00365; Sat, 6 Nov 1999 11:23:32 GMT (envelope-from brian@lan.awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id OAA00592; Fri, 5 Nov 1999 14:25:47 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <199911051425.OAA00592@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.0 09/18/1999 To: "samj" Cc: freebsd-net@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: ppp.linkup do not work In-Reply-To: Message from "samj" of "03 Nov 1999 14:12:43 GMT." <01bf2605$3c271730$dc36f43e@primsrv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 05 Nov 1999 14:25:47 +0000 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I 'm use for connection user to > server ppp. > I have ppp.linkup: > ..... > papcuaa2: > !bg su -c "/etc/ppp/MyProgram" > ..... > When PPP establishes a connection MyProgram does not execute. > Why ? > Thanks in advance > Yury Because su wants a password ? If you're already root, just use !bg /etc/ppp/MyProgram and make sure MyProgram has the requisite #! at the top. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message