summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-05-23 19:22:33 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-05-23 19:22:33 +0000
commitb50b44b25702e59c16baa14890a084ff8e87558a (patch)
treea0a698b3f11984b680361bbc46f201ff3f37e547 /etc
parentcf8b91a72bf721007a9562e055aa881f6f7b54bc (diff)
add named user and use /var/named, not /etc/namedb as the named dir
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile6
-rw-r--r--etc/master.passwd1
-rw-r--r--etc/mtree/4.4BSD.dist24
3 files changed, 16 insertions, 15 deletions
diff --git a/etc/Makefile b/etc/Makefile
index a1d79676ce9..7abef43bc8d 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.86 1998/05/05 21:51:51 deraadt Exp $
+# $OpenBSD: Makefile,v 1.87 1998/05/23 19:22:30 millert Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific
@@ -131,8 +131,8 @@ distribution-etc-root-var: distrib-dirs
${DESTDIR}/etc/ppp; \
${INSTALL} -c -o root -g wheel -m 644 ppp.secret.sample \
${DESTDIR}/etc/ppp)
- cd namedb; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \
- ${DESTDIR}/etc/namedb
+ cd namedb; ${INSTALL} -c -o named -g ${BINGRP} -m 644 ${NAMEDB} \
+ ${DESTDIR}/var/named
/bin/rm -f ${DESTDIR}/etc/localtime
ln -s ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime
/bin/rm -f ${DESTDIR}/etc/rmt
diff --git a/etc/master.passwd b/etc/master.passwd
index 1831c0962fd..d42bc5be76c 100644
--- a/etc/master.passwd
+++ b/etc/master.passwd
@@ -4,4 +4,5 @@ operator:*:2:5::0:0:System &:/operator:/sbin/nologin
bin:*:3:7::0:0:Binaries Commands and Source,,,:/:/sbin/nologin
uucp:*:66:1::0:0:UNIX-to-UNIX Copy:/var/spool/uucppublic:/usr/libexec/uucp/uucico
www:*:67:67::0:0:HTTP server:/var/www:/sbin/nologin
+named:*:70:7:BIND Name Service Daemon:/var/named:/sbin/nologin
nobody:*:32767:32767::0:0:Unprivileged user:/nonexistent:/sbin/nologin
diff --git a/etc/mtree/4.4BSD.dist b/etc/mtree/4.4BSD.dist
index 9e1a9e046ce..36d4259b126 100644
--- a/etc/mtree/4.4BSD.dist
+++ b/etc/mtree/4.4BSD.dist
@@ -1,4 +1,4 @@
-# $OpenBSD: 4.4BSD.dist,v 1.51 1998/05/19 16:55:26 millert Exp $
+# $OpenBSD: 4.4BSD.dist,v 1.52 1998/05/23 19:22:32 millert Exp $
/set type=dir uname=root gname=wheel mode=0755
# .
@@ -48,17 +48,6 @@ mtree
# ./etc/mtree
..
-# ./etc/namedb
-namedb
-
-# ./etc/namedb/tmp
-tmp
-# ./etc/namedb/tmp
-..
-
-# ./etc/namedb
-..
-
# ./etc/ppp
ppp
# ./etc/ppp
@@ -1607,6 +1596,17 @@ msgs
# ./var/msgs
..
+# ./var/named
+named uname=named gname=bin mode=0755
+
+# ./var/named/dev
+dev
+# ./var/named/dev
+..
+
+# ./var/named
+..
+
# ./var/obj XXX
#obj
# ./var/obj XXX