From owner-freebsd-questions Fri Jun 23 9:29:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay1.inwind.it (relay1.inwind.it [212.141.53.67]) by hub.freebsd.org (Postfix) with ESMTP id 6A08A37BAA0 for ; Fri, 23 Jun 2000 09:29:24 -0700 (PDT) (envelope-from bartequi@inwind.it) Received: from bartequi.ottodomain.org (212.141.79.71) by relay1.inwind.it; 23 Jun 2000 18:29:23 +0200 From: Salvo Bartolotta Date: Fri, 23 Jun 2000 17:31:18 GMT Message-ID: <20000623.17311800@bartequi.ottodomain.org> Subject: Re: pppass out To: Wobbly Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <39535AE5.CEF8208A@telstra.com> References: <39535AE5.CEF8208A@telstra.com> X-Mailer: SuperCalifragilis X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 6/23/00, 1:41:09 PM, Wobbly wrote regarding=20 pppass out: > How do I kill user ppp once a connection is successfully established=20 in > -background mode? > Thanks! > Rosco. Dear Rosco, in order to kill user PPP, you can issue a command such as ps x | awk '$5 =3D=3D "ppp" { system("kill " $1)}' No need to grep | egrep | awk etc. :-) If you wish to control user PPP, you might want to have a look at=20 pppctl(8). Best regards, Salvo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message