summaryrefslogtreecommitdiffstats
path: root/sbin/shutdown
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 /sbin/shutdown
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 'sbin/shutdown')
-rw-r--r--sbin/shutdown/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/shutdown/Makefile b/sbin/shutdown/Makefile
index a6ecb93..905d1bc 100644
--- a/sbin/shutdown/Makefile
+++ b/sbin/shutdown/Makefile
@@ -8,6 +8,6 @@ MLINKS= shutdown.8 poweroff.8
BINOWN= root
BINGRP= operator
-BINMODE=4550
+BINMODE=4554
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud