From f552d25e1755c677c343dc507b4c5cabe00a090d Mon Sep 17 00:00:00 2001 From: sheldonh Date: Fri, 4 Jan 2002 13:02:51 +0000 Subject: [PATCH] Install nsmb.conf with mode 0600, since it may be modified to include passwords for remote shares. Reported by: Andre Albsmeier --- etc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/Makefile b/etc/Makefile index 6787fd912286..1f3444b9da70 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -10,7 +10,7 @@ BIN1= amd.map apmd.conf auth.conf \ dhclient.conf dm.conf fbtab ftpusers gettytab group \ hosts hosts.allow hosts.equiv hosts.lpd \ inetd.conf login.access login.conf \ - motd modems netconfig networks newsyslog.conf nsmb.conf \ + motd modems netconfig networks newsyslog.conf \ phones printcap profile protocols \ rc rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 \ rc.network rc.network6 rc.pccard rc.serial rc.shutdown \ @@ -77,7 +77,7 @@ distribution: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/log/cron; \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \ - opieaccess master.passwd ${DESTDIR}/etc; \ + master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; \ ( cd ${.CURDIR}/periodic; ${MAKE} install ); \ ( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall ); \ ( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \