Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

217 lines
9.7 KiB

10 years ago
22 years ago
  1. # $OpenBSD: special,v 1.112 2014/12/26 21:17:32 tedu Exp $
  2. #
  3. # Hand-crafted mtree specification for the dangerous files.
  4. #
  5. . type=dir mode=0755 uname=root gname=wheel
  6. dev type=dir mode=0755 uname=root gname=wheel
  7. fd type=dir mode=0555 uname=root gname=wheel ignore
  8. .. #dev/fd
  9. kmem type=char mode=0640 uname=root gname=kmem
  10. mem type=char mode=0640 uname=root gname=kmem
  11. .. #dev
  12. etc type=dir mode=0755 uname=root gname=wheel
  13. bgpd.conf type=file mode=0600 uname=root gname=wheel optional
  14. chio.conf type=file mode=0644 uname=root gname=operator optional
  15. crontab type=file mode=0600 uname=root gname=wheel optional
  16. csh.cshrc type=file mode=0644 uname=root gname=wheel
  17. csh.login type=file mode=0644 uname=root gname=wheel
  18. csh.logout type=file mode=0644 uname=root gname=wheel
  19. daily type=file mode=0644 uname=root gname=wheel
  20. daily.local type=file mode=0644 uname=root gname=wheel optional
  21. dhcpd.conf type=file mode=0644 uname=root gname=wheel optional
  22. dvmrpd.conf type=file mode=0600 uname=root gname=wheel optional
  23. exports type=file mode=0644 uname=root gname=wheel optional
  24. fbtab type=file mode=0644 uname=root gname=wheel
  25. fstab type=file mode=0644 uname=root gname=wheel
  26. ftpchroot type=file mode=0644 uname=root gname=wheel optional
  27. ftpusers type=file mode=0644 uname=root gname=wheel
  28. group type=file mode=0644 uname=root gname=wheel
  29. hostapd.conf type=file mode=0600 uname=root gname=wheel optional
  30. hosts type=file mode=0644 uname=root gname=wheel
  31. httpd.conf type=file mode=0644 uname=root gname=wheel optional
  32. ifstated.conf type=file mode=0644 uname=root gname=wheel optional
  33. iked type=dir mode=0755 uname=root gname=wheel
  34. .. #iked
  35. iked.conf type=file mode=0600 uname=root gname=wheel optional
  36. inetd.conf type=file mode=0644 uname=root gname=wheel optional
  37. ipsec.conf type=file mode=0600 uname=root gname=wheel optional
  38. isakmpd type=dir mode=0755 uname=root gname=wheel
  39. isakmpd.conf type=file mode=0600 uname=root gname=wheel optional
  40. isakmpd.policy type=file mode=0600 uname=root gname=wheel optional
  41. .. #isakmpd
  42. ldapd.conf type=file mode=0600 uname=root gname=wheel optional
  43. ldpd.conf type=file mode=0600 uname=root gname=wheel optional
  44. login.conf type=file mode=0644 uname=root gname=wheel
  45. mail.rc type=file mode=0644 uname=root gname=wheel
  46. mailer.conf type=file mode=0644 uname=root gname=wheel
  47. master.passwd type=file mode=0600 uname=root gname=wheel
  48. monthly type=file mode=0644 uname=root gname=wheel
  49. monthly.local type=file mode=0644 uname=root gname=wheel optional
  50. mrouted.conf type=file mode=0644 uname=root gname=wheel optional
  51. mail type=dir mode=0755 uname=root gname=wheel
  52. aliases type=file mode=0644 uname=root gname=wheel optional
  53. aliases.db type=file mode=0644 uname=root gname=wheel optional
  54. secrets type=file mode=0640 uname=root gname=_smtpd optional
  55. secrets.db type=file mode=0640 uname=root gname=_smtpd optional
  56. smtpd.conf type=file mode=0644 uname=root gname=wheel
  57. spamd.conf type=file mode=0644 uname=root gname=wheel optional
  58. .. #mail
  59. mtree type=dir mode=0755 uname=root gname=wheel
  60. special type=file mode=0600 uname=root gname=wheel
  61. .. #mtree
  62. moduli type=file mode=0644 uname=root gname=wheel
  63. netstart type=file mode=0644 uname=root gname=wheel
  64. npppd type=dir mode=0755 uname=root gname=wheel
  65. npppd.conf type=file mode=0640 uname=root gname=wheel
  66. npppd-users type=file mode=0600 uname=root gname=wheel
  67. .. #npppd
  68. ntpd.conf type=file mode=0644 uname=root gname=wheel optional
  69. ospfd.conf type=file mode=0600 uname=root gname=wheel optional
  70. ospf6d.conf type=file mode=0600 uname=root gname=wheel optional
  71. passwd type=file mode=0644 uname=root gname=wheel
  72. pf.conf type=file mode=0600 uname=root gname=wheel optional
  73. printcap type=file mode=0644 uname=root gname=wheel optional
  74. rc type=file mode=0644 uname=root gname=wheel
  75. rc.conf type=file mode=0644 uname=root gname=wheel
  76. rc.conf.local type=file mode=0644 uname=root gname=wheel optional
  77. rc.local type=file mode=0644 uname=root gname=wheel optional
  78. rc.securelevel type=file mode=0644 uname=root gname=wheel optional
  79. rc.shutdown type=file mode=0644 uname=root gname=wheel optional
  80. relayd.conf type=file mode=0600 uname=root gname=wheel optional
  81. remote type=file mode=0644 uname=root gname=wheel optional
  82. resolv.conf type=file mode=0644 uname=root gname=wheel optional
  83. resolv.conf.tail type=file mode=0644 uname=root gname=wheel optional
  84. rbootd.conf type=file mode=0644 uname=root gname=wheel optional
  85. ripd.conf type=file mode=0600 uname=root gname=wheel optional
  86. sasyncd.conf type=file mode=0600 uname=root gname=wheel optional
  87. sensorsd.conf type=file mode=0644 uname=root gname=wheel optional
  88. shells type=file mode=0644 uname=root gname=wheel
  89. skey type=dir mode=01730 uname=root gname=auth optional
  90. .. #skey
  91. snmpd.conf type=file mode=0600 uname=root gname=wheel optional
  92. spwd.db type=file mode=0640 uname=root gname=_shadow
  93. ssh type=dir mode=0755 uname=root gname=wheel optional
  94. ssh_config type=file mode=0644 uname=root gname=wheel
  95. ssh_host_dsa_key type=file mode=0600 uname=root gname=wheel optional
  96. ssh_host_dsa_key.pub type=file mode=0644 uname=root gname=wheel optional
  97. ssh_host_ecdsa_key type=file mode=0600 uname=root gname=wheel optional
  98. ssh_host_ecdsa_key.pub type=file mode=0644 uname=root gname=wheel optional
  99. ssh_host_ed25519_key type=file mode=0600 uname=root gname=wheel optional
  100. ssh_host_ed25519_key.pub type=file mode=0644 uname=root gname=wheel optional
  101. ssh_host_key type=file mode=0600 uname=root gname=wheel optional
  102. ssh_host_key.pub type=file mode=0644 uname=root gname=wheel optional
  103. ssh_host_rsa_key type=file mode=0600 uname=root gname=wheel optional
  104. ssh_host_rsa_key.pub type=file mode=0644 uname=root gname=wheel optional
  105. sshd_config type=file mode=0644 uname=root gname=wheel
  106. .. #ssh
  107. sudoers type=file mode=0440 uname=root gname=wheel
  108. systrace type=dir mode=0755 uname=root gname=wheel optional
  109. .. #systrace
  110. syslog.conf type=file mode=0644 uname=root gname=wheel
  111. ttys type=file mode=0644 uname=root gname=wheel
  112. weekly type=file mode=0644 uname=root gname=wheel
  113. weekly.local type=file mode=0644 uname=root gname=wheel optional
  114. ypldap.conf type=file mode=0600 uname=root gname=wheel optional
  115. uucp type=dir mode=0755 uname=root gname=wheel optional ignore
  116. .. #uucp
  117. .. #etc
  118. root type=dir mode=0700 uname=root gname=wheel
  119. .cshrc type=file mode=0644 uname=root gname=wheel
  120. .login type=file mode=0644 uname=root gname=wheel
  121. .profile type=file mode=0644 uname=root gname=wheel
  122. .rhosts type=file mode=0600 uname=root gname=wheel optional
  123. .. #root
  124. sbin type=dir mode=0755 uname=root gname=wheel ignore
  125. .. #sbin
  126. usr type=dir mode=0755 uname=root gname=wheel
  127. bin type=dir mode=0755 uname=root gname=wheel ignore
  128. .. #usr/bin
  129. games type=dir mode=0755 uname=root gname=wheel optional
  130. .. #usr/games
  131. include type=dir mode=0755 uname=root gname=bin ignore
  132. .. #usr/include
  133. lib type=dir mode=0755 uname=root gname=wheel ignore
  134. .. #usr/lib
  135. libdata type=dir mode=0755 uname=root gname=wheel ignore
  136. .. #usr/libdata
  137. libexec type=dir mode=0755 uname=root gname=wheel
  138. auth type=dir mode=0750 uname=root gname=auth ignore
  139. .. #usr/libexec/auth
  140. .. #usr/libexec
  141. local type=dir mode=0755 uname=root gname=wheel
  142. bin type=dir mode=0755 uname=root gname=wheel ignore
  143. .. #usr/local/bin
  144. lib type=dir mode=0755 uname=root gname=wheel ignore
  145. .. #usr/local/lib
  146. .. #usr/local
  147. sbin type=dir mode=0755 uname=root gname=wheel ignore
  148. .. #usr/sbin
  149. share type=dir mode=0755 uname=root gname=wheel ignore
  150. .. #usr/share
  151. .. #usr
  152. var type=dir mode=0755 uname=root gname=wheel
  153. account type=dir mode=0755 uname=root gname=wheel
  154. acct type=file mode=0644 uname=root gname=wheel optional
  155. .. #var/account
  156. yp type=dir mode=0755 uname=root gname=wheel optional ignore
  157. .. #var/yp
  158. backups type=dir mode=0700 uname=root gname=wheel ignore
  159. .. #var/backups
  160. cron type=dir mode=0555 uname=root gname=wheel
  161. log type=file mode=0600 uname=root gname=wheel
  162. atjobs type=dir mode=01770 uname=root gname=crontab ignore
  163. .. #var/cron/atjobs
  164. tabs type=dir mode=01730 uname=root gname=crontab ignore
  165. .. #var/cron/tabs
  166. .. #var/cron
  167. db type=dir mode=0755 uname=root gname=wheel
  168. host.random type=file mode=0600 uname=root gname=wheel optional
  169. kvm_bsd.db type=file mode=0640 uname=root gname=kmem
  170. .. #var/db
  171. log type=dir mode=0755 uname=root gname=wheel
  172. authlog type=file mode=0640 uname=root gname=wheel
  173. secure type=file mode=0600 uname=root gname=wheel
  174. wtmp type=file mode=0644 uname=root gname=wheel
  175. lastlog type=file mode=0644 uname=root gname=wheel
  176. .. #var/log
  177. mail type=dir mode=0755 uname=root gname=wheel ignore
  178. .. #var/mail
  179. nsd type=dir mode=0755 uname=root gname=wheel
  180. etc type=dir mode=0750 uname=root gname=_nsd
  181. .. #var/nsd/etc
  182. .. #var/nsd
  183. run type=dir mode=0755 uname=root gname=wheel
  184. utmp type=file mode=0664 uname=root gname=utmp
  185. .. #var/run
  186. spool type=dir mode=0755 uname=root gname=wheel
  187. ftp type=dir mode=0555 uname=root gname=wheel optional
  188. bin type=dir mode=0511 uname=root gname=wheel optional
  189. .. #var/spool/ftp/bin
  190. etc type=dir mode=0511 uname=root gname=wheel optional
  191. group type=file mode=0444 uname=root gname=wheel optional
  192. localtime type=file mode=0444 uname=root gname=wheel optional
  193. master.passwd type=file mode=0400 uname=root gname=wheel optional
  194. spwd.db type=file mode=0400 uname=root gname=wheel optional
  195. motd type=file mode=0444 uname=root gname=wheel optional
  196. passwd type=file mode=0444 uname=root gname=wheel optional
  197. pwd.db type=file mode=0444 uname=root gname=wheel optional
  198. .. #var/spool/ftp/etc
  199. hidden type=dir mode=0111 uname=root gname=wheel optional ignore
  200. .. #var/spool/ftp/hidden
  201. pub type=dir mode=0555 uname=root gname=wheel optional ignore
  202. .. #var/spool/ftp/pub
  203. .. #var/spool/ftp
  204. output type=dir mode=0775 uname=root gname=daemon ignore
  205. .. #var/spool/output
  206. uucp type=dir mode=0755 uname=uucp gname=daemon ignore
  207. .. #var/spool/uucp
  208. uucppublic type=dir mode=0755 uname=uucp gname=daemon ignore
  209. .. #var/spool/uucppublic
  210. .. #var/spool