Browse Source

make pf.conf 0600 by default

discussed and agreed theo and daniel
OPENBSD_3_3
henning 22 years ago
parent
commit
15f7e0f66c
2 changed files with 6 additions and 4 deletions
  1. +4
    -2
      src/etc/Makefile
  2. +2
    -2
      src/etc/mtree/special

+ 4
- 2
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.175 2003/02/04 01:35:08 deraadt Exp $
# $OpenBSD: Makefile,v 1.176 2003/02/06 16:34:51 henning Exp $
TZDIR= /usr/share/zoneinfo TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific LOCALTIME= US/Pacific
@ -16,7 +16,7 @@ BIN1= bootptab changelist ccd.conf csh.cshrc csh.login csh.logout \
daily dhcpd.conf dhcpd.interfaces exports ftpusers \ daily dhcpd.conf dhcpd.interfaces exports ftpusers \
ftpchroot gettytab group hosts hosts.lpd inetd.conf \ ftpchroot gettytab group hosts hosts.lpd inetd.conf \
ksh.kshrc locate.rc man.conf monthly motd mrouted.conf \ ksh.kshrc locate.rc man.conf monthly motd mrouted.conf \
myname netstart networks newsyslog.conf pf.conf \
myname netstart networks newsyslog.conf \
phones printcap protocols rbootd.conf rc rc.conf rc.local \ phones printcap protocols rbootd.conf rc rc.conf rc.local \
rc.securelevel rc.shutdown remote rpc security services \ rc.securelevel rc.shutdown remote rpc security services \
shells syslog.conf weekly etc.${MACHINE}/disktab dhclient.conf \ shells syslog.conf weekly etc.${MACHINE}/disktab dhclient.conf \
@ -31,6 +31,7 @@ BIN1+= wsconsctl.conf
# -rw-rw-r-- # -rw-rw-r--
BIN2= motd BIN2= motd
NAMEDB= localhost.rev localhost.v6.rev localhost.zone root.cache
PCS= pcs750.bin PCS= pcs750.bin
WCS1= wcs fppwcs poc poc1 poc2 fppoc WCS1= wcs fppwcs poc poc1 poc2 fppoc
WCS2= fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual WCS2= fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual
@ -76,6 +77,7 @@ distribution-etc-root-var: distrib-dirs
${INSTALL} -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
pwd_mkdb -p -d ${DESTDIR}/etc /etc/master.passwd pwd_mkdb -p -d ${DESTDIR}/etc /etc/master.passwd
${INSTALL} -c -o root -g wheel -m 644 moduli ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 644 moduli ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 pf.conf ${DESTDIR}/etc
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
cd root; \ cd root; \


+ 2
- 2
src/etc/mtree/special View File

@ -1,4 +1,4 @@
# $OpenBSD: special,v 1.49 2002/11/22 00:32:26 marc Exp $
# $OpenBSD: special,v 1.50 2003/02/06 16:34:51 henning Exp $
# $NetBSD: special,v 1.4 1996/05/08 21:30:18 pk Exp $ # $NetBSD: special,v 1.4 1996/05/08 21:30:18 pk Exp $
# @(#)special 8.2 (Berkeley) 1/23/94 # @(#)special 8.2 (Berkeley) 1/23/94
# #
@ -56,7 +56,7 @@ moduli type=file mode=0644 uname=root gname=wheel
netstart type=file mode=0644 uname=root gname=wheel netstart type=file mode=0644 uname=root gname=wheel
passwd type=file mode=0644 uname=root gname=wheel passwd type=file mode=0644 uname=root gname=wheel
passwd.conf type=file mode=0644 uname=root gname=wheel optional passwd.conf type=file mode=0644 uname=root gname=wheel optional
pf.conf type=file mode=0644 uname=root gname=wheel optional
pf.conf type=file mode=0600 uname=root gname=wheel optional
printcap type=file mode=0644 uname=root gname=wheel printcap type=file mode=0644 uname=root gname=wheel
rc type=file mode=0644 uname=root gname=wheel rc type=file mode=0644 uname=root gname=wheel
rc.conf type=file mode=0644 uname=root gname=wheel rc.conf type=file mode=0644 uname=root gname=wheel


Loading…
Cancel
Save