summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2014-08-21 19:04:15 +0000
committerneel <neel@FreeBSD.org>2014-08-21 19:04:15 +0000
commitd00c242753e96d6fc853b2f08ee9dfb04758ccc3 (patch)
treecb69c3aae8eb43e14a83f62dd8d653f1d828640d /usr.sbin/ppp
parent96749983160dd680ba2112e09e4f0542b1db7abe (diff)
downloadFreeBSD-src-d00c242753e96d6fc853b2f08ee9dfb04758ccc3.zip
FreeBSD-src-d00c242753e96d6fc853b2f08ee9dfb04758ccc3.tar.gz
Change file permissions for some setuid executables so they are "o+r".
The executable itself doesn't contain any privileged information. An example of where this is useful is when makefs(8) is creating an image that includes /sbin/shutdown. This can now be done without root privileges. Reviewed by: delphij Discussed with: delphij, des CR: https://reviews.freebsd.org/D662
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile
index beea0ab..dda493e 100644
--- a/usr.sbin/ppp/Makefile
+++ b/usr.sbin/ppp/Makefile
@@ -33,9 +33,9 @@ PPP_NO_PAM=
.endif
.if defined(PPP_NO_SUID)
-BINMODE=550
+BINMODE=554
.else
-BINMODE=4550
+BINMODE=4554
BINOWN= root
.endif
BINGRP= network
OpenPOWER on IntegriCloud