summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/ypinit
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-09 23:41:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-09 23:41:58 +0000
commit70ae2b29ba1728d4007ecda803275ce1685b5aec (patch)
treec7c4c27de2a7b3a0dca8c5b59663b6819ba369a5 /usr.sbin/ypserv/ypinit
parentf81c299dd498041022ebfc05c3eaf11904341af1 (diff)
umask 077
Diffstat (limited to 'usr.sbin/ypserv/ypinit')
-rw-r--r--usr.sbin/ypserv/ypinit/ypinit.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ypserv/ypinit/ypinit.sh b/usr.sbin/ypserv/ypinit/ypinit.sh
index 7afa5428d30..81c7851252e 100644
--- a/usr.sbin/ypserv/ypinit/ypinit.sh
+++ b/usr.sbin/ypserv/ypinit/ypinit.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: ypinit.sh,v 1.5 1997/04/24 18:30:44 deraadt Exp $
+# $Id: ypinit.sh,v 1.6 1997/10/09 23:41:57 deraadt Exp $
#
# ypinit.sh - setup an master or slave server.
#
@@ -10,6 +10,7 @@ YPXFR=/usr/sbin/ypxfr
YP_DIR=/var/yp
MAKEDBM=/usr/sbin/makedbm
ERROR_EXISTS="NO"
+umask 077
#set -xv