Browse Source

Add /var/kerberosV to hier(7)+mtree.

Make sure the directory, DB and master keys have secure permissions.
ok dcoppa@ robert@ beck@
OPENBSD_5_4
ajacoutot 11 years ago
parent
commit
04cad6151e
2 changed files with 10 additions and 2 deletions
  1. +5
    -1
      src/etc/mtree/4.4BSD.dist
  2. +5
    -1
      src/etc/mtree/special

+ 5
- 1
src/etc/mtree/4.4BSD.dist View File

@ -1,4 +1,4 @@
# $OpenBSD: 4.4BSD.dist,v 1.233 2013/06/18 06:18:36 robert Exp $
# $OpenBSD: 4.4BSD.dist,v 1.234 2013/07/10 05:09:42 ajacoutot Exp $
/set type=dir uname=root gname=wheel mode=0755 /set type=dir uname=root gname=wheel mode=0755
# . # .
@ -1240,6 +1240,10 @@ phantasia uname=root gname=games mode=0775
# ./var/games # ./var/games
.. ..
# ./var/kerberosV
kerberosV uname=root gname=wheel mode=0700
# ./var/kerberosV
# ./var/log # ./var/log
log log


+ 5
- 1
src/etc/mtree/special View File

@ -1,4 +1,4 @@
# $OpenBSD: special,v 1.97 2013/05/13 09:46:19 ajacoutot Exp $
# $OpenBSD: special,v 1.98 2013/07/10 05:09:42 ajacoutot 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
# #
@ -179,6 +179,10 @@ db type=dir mode=0755 uname=root gname=wheel
host.random type=file mode=0600 uname=root gname=wheel optional host.random type=file mode=0600 uname=root gname=wheel optional
kvm_bsd.db type=file mode=0644 uname=root gname=wheel kvm_bsd.db type=file mode=0644 uname=root gname=wheel
.. #var/db .. #var/db
kerberosV type=dir mode=0700 uname=root gname=wheel optional
heimdal.db type=file mode=0600 uname=root gname=wheel optional
m-key type=file mode=0600 uname=root gname=wheel optional
.. #var/kerberosV
log type=dir mode=0755 uname=root gname=wheel log type=dir mode=0755 uname=root gname=wheel
authlog type=file mode=0640 uname=root gname=wheel authlog type=file mode=0640 uname=root gname=wheel
secure type=file mode=0600 uname=root gname=wheel secure type=file mode=0600 uname=root gname=wheel


Loading…
Cancel
Save