summaryrefslogtreecommitdiffstats
path: root/gnu/usr.sbin
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1995-02-01 23:30:02 +0000
committerwpaul <wpaul@FreeBSD.org>1995-02-01 23:30:02 +0000
commitca56934ab23e06329cac49599da9a7c20ad41cda (patch)
tree0ccebedad9bce99c1704cd56e56971ad32e21e55 /gnu/usr.sbin
parent4ced3668eb3ae1f508c16c08c51d1d4cdfe1fd44 (diff)
downloadFreeBSD-src-ca56934ab23e06329cac49599da9a7c20ad41cda.zip
FreeBSD-src-ca56934ab23e06329cac49599da9a7c20ad41cda.tar.gz
Need to set a umask to avoid security problems (/var/yp/passwd
world-writable).
Diffstat (limited to 'gnu/usr.sbin')
-rw-r--r--gnu/usr.sbin/yppasswdd/yppwupdate3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.sbin/yppasswdd/yppwupdate b/gnu/usr.sbin/yppasswdd/yppwupdate
index 77412b0..7b699c1 100644
--- a/gnu/usr.sbin/yppasswdd/yppwupdate
+++ b/gnu/usr.sbin/yppasswdd/yppwupdate
@@ -3,4 +3,5 @@
# This script is invoked by yppasswdd to update the password
# maps after the master password file has been modified.
-cd /var/yp; make
+umask 077
+cd /var/yp; /usr/bin/make
OpenPOWER on IntegriCloud