Date: Fri, 05 Nov 1999 14:25:47 +0000 From: Brian Somers <brian@Awfulhak.org> To: "samj" <samj@itcj.kiev.ua> Cc: freebsd-net@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: ppp.linkup do not work Message-ID: <199911051425.OAA00592@hak.lan.Awfulhak.org> In-Reply-To: Message from "samj" <samj@itcj.kiev.ua> of "03 Nov 1999 14:12:43 GMT." <01bf2605$3c271730$dc36f43e@primsrv>
next in thread | previous in thread | raw e-mail | index | archive | help
> I 'm use <exec /usr/sbin/ppp -direct papcuaa2> 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 <brian@Awfulhak.org> <brian@FreeBSD.org>
<http://www.Awfulhak.org> <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911051425.OAA00592>
