BSD.root.dist revision 37
1# fs: / 2# by: bostic 3# 4# %W% (Berkeley) %G% 5 6# top-level files are owned by root.wheel 7# (else too easy to get root by compromising these) 8 9/set owner=root group=wheel mode=0755 type=file 10 11sys type=link size=11 link=usr/src/sys 12a type=dir 13.. 14b type=dir 15.. 16 17dev type=dir 18 fd type=dir 19 .. 20.. 21 22etc type=dir 23 disklabels type=dir 24 .. 25# what is the following for? 26/set nlink=1 27 kerberosIV type=dir 28 .. 29 mtree type=dir 30 .. 31 namedb type=dir 32 .. 33 passwd mode=0644 34 master.passwd mode=0600 35 spwd.db mode=0600 36 pwd.db mode=0644 37 group mode=0644 38 crontab mode=0644 39 dumpdates group=operator mode=0664 40 41 # config files, writeable by root 42 /set mode=0644 type=file 43 daily 44 weekly 45 monthly 46 exports 47 fstab 48 hosts.equiv 49 hosts.lpd 50 inetd.conf 51 printcap 52 rc 53 rc.local 54 netstart mode=0755 55 remote 56 security 57 sendmail.cf 58 sendmail.cw 59 syslog.conf 60 ttys 61 62 # prototype files, not normally written by root 63 /set mode=0444 64 ftpusers 65 shells 66 gettytab 67 named.boot 68 hosts 69 networks 70 protocols 71 services 72 localtime owner=bin group=bin 73 man.conf owner=bin group=bin 74 75.. 76 77mnt type=dir 78.. 79root type=dir 80.. 81stand type=dir 82.. 83tmp type=dir owner=bin group=bin mode=01777 84.. 85usr type=dir 86.. 87var type=dir 88.. 89 90# binary directories: 91/set owner=bin group=bin mode=0755 92bin type=dir 93.. 94sbin type=dir 95.. 96