From e9c56664e7f1db23d1b681b90b18498912f6512b Mon Sep 17 00:00:00 2001
From: Kris Kennaway <kris@FreeBSD.org>
Date: Tue, 24 Jul 2001 02:37:48 +0000
Subject: [PATCH] Install this mode 4550 owned by group dialer; there is unsafe
 code in the signal handlers which may pose a risk when executable by
 untrusted users.

Submitted by:	Przemyslaw Frasunek <venglin@freebsd.lublin.pl>
MFC After:	3 days
---
 usr.sbin/pppd/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/usr.sbin/pppd/Makefile b/usr.sbin/pppd/Makefile
index b1379c17bdb0..a628fb84ee31 100644
--- a/usr.sbin/pppd/Makefile
+++ b/usr.sbin/pppd/Makefile
@@ -7,7 +7,9 @@ PROG=	pppd
 MAN=	pppd.8
 SRCS=	main.c magic.c fsm.c lcp.c ipcp.c ipxcp.c upap.c chap.c ccp.c \
 	demand.c auth.c options.c sys-bsd.c
-BINMODE= 4555
+BINMODE=4550
+BINOWN=	root
+BINGRP=	dialer
 
 CFLAGS+= -DHAVE_PATHS_H