diff options
author | wpaul <wpaul@FreeBSD.org> | 1995-02-01 23:30:02 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1995-02-01 23:30:02 +0000 |
commit | ca56934ab23e06329cac49599da9a7c20ad41cda (patch) | |
tree | 0ccebedad9bce99c1704cd56e56971ad32e21e55 | |
parent | 4ced3668eb3ae1f508c16c08c51d1d4cdfe1fd44 (diff) | |
download | FreeBSD-src-ca56934ab23e06329cac49599da9a7c20ad41cda.zip FreeBSD-src-ca56934ab23e06329cac49599da9a7c20ad41cda.tar.gz |
Need to set a umask to avoid security problems (/var/yp/passwd
world-writable).
-rw-r--r-- | gnu/usr.sbin/yppasswdd/yppwupdate | 3 |
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 |