Subject: Install on Ultra1 with odd permissions
To: None <port-sparc64@netbsd.org>
From: josh <dorqus@bsdfreek.com>
List: port-sparc64
Date: 07/12/2001 15:29:16
--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I just installed NetBSD-1.5.1 on an Ultra1 (dmesg
attached)
I noticed that permissions on directories were mode 777.
Basically everything in /var and /usr.
a "find  / -type d -perm 777 -print" was very scary.
Is there some reason for this?  It's definitely not secure...

(output of dmesg and that find command attached)

-- 
josh
       "Unix is very simple, but it takes a genius to understand the
		       simplicity." - Dennis Ritchie

--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="findcommand.txt"

/var
/var/db
/var/spool/sockets
/usr
/usr/bin
/usr/include
/usr/include/arpa
/usr/include/dev
/usr/include/dev/microcode
/usr/include/dev/ofw
/usr/include/dev/usb
/usr/include/gssapi
/usr/include/kadm5
/usr/include/kerberosIV
/usr/include/krb5
/usr/include/net
/usr/include/netatalk
/usr/include/netccitt
/usr/include/netinet
/usr/include/netiso
/usr/include/netnatm
/usr/include/netns
/usr/include/nfs
/usr/include/ntfs
/usr/include/openssl
/usr/include/protocols
/usr/include/rpc
/usr/include/rpcsvc
/usr/include/sys
/usr/include/ufs
/usr/include/ufs/ext2fs
/usr/include/ufs/ffs
/usr/include/ufs/lfs
/usr/include/ufs/mfs
/usr/include/ufs/ufs
/usr/include/vm
/usr/include/sparc64
/usr/lib
/usr/libexec
/usr/sbin
/usr/share
/usr/share/ldscripts
/usr/share/lkm
/usr/share/lkm/misc
/usr/share/lkm/misc/module
/usr/share/lkm/misc/test
/usr/share/lkm/syscall
/usr/share/lkm/syscall/module
/usr/share/lkm/syscall/test
/usr/share/lkm/vfs
/usr/share/lkm/vfs/module
/usr/share/man
/usr/share/man/cat1
/usr/share/man/cat2
/usr/share/man/cat3
/usr/share/man/cat5
/usr/share/man/cat7
/usr/share/man/cat8
/usr/share/man/cat9
/usr/share/man/man1
/usr/share/man/man2
/usr/share/man/man3
/usr/share/man/man5
/usr/share/man/man7
/usr/share/man/man8
/usr/share/man/man9
/usr/share/misc
/usr/share/mk

--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.txt"

consinit()
setting up stdin
stdin instance = fffe8530
setting up stdout
stdout instance = fffe8810
stdout package = f005a174
console is unknown
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5.1 (GENERIC) #0: Tue Jul  3 00:05:44 CEST 2001
    martin@setting-sun.duskware.de:/usr/src/sys/arch/sparc64/compile/GENERIC
total memory = 65536 KB
avail memory = 51664 KB
using 422 buffers containing 3376 KB of memory
bootpath: /sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@0,0
mainbus0 (root): SUNW,Ultra-1
cpu0 at mainbus0: SUNW,UltraSPARC @ 143 MHz, version 0 FPU
cpu0: physical 4K instruction (32 b/l), 4K data (32 b/l), 2048K external (64 b/l) 
timer0 at mainbus0 addr 0xfffc3c00 irq vectors 7f0 and 7f1
sbus0 at mainbus0 addr 0xfffcc000: clock = 25 MHz
DVMA map: ff802000 to ffffe000
audiocs0 at sbus0 slot 13 offset 0xc000000 vector 24 ipl 13: CS4231A
audio0 at audiocs0: full duplex
auxio0 at sbus0 slot 15 offset 0x1900000
flashprom at sbus0 slot 15 offset 0x0 not configured
SUNW,fdtwo at sbus0 slot 15 offset 0x1400000 vector 29 ipl 11 not configured
clock0 at sbus0 slot 15 offset 0x1200000: mk48t59 (eeprom) hostid ffffffff807c4fb1
zs0 at sbus0 slot 15 offset 0x1100000 vector 28 ipl 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at sbus0 slot 15 offset 0x1000000 vector 28 ipl 12 softpri 6
kbd0 at zs1 channel 0
ms0 at zs1 channel 1
intr_establish: intr reused 2024
sc at sbus0 slot 15 offset 0x1300000 not configured
SUNW,pll at sbus0 slot 15 offset 0x1304000 not configured
dma0 at sbus0 slot 14 offset 0x8400000: rev 2
esp0 at dma0 slot 14 offset 0x8800000 vector 20 ipl 3: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
ledma0 at sbus0 slot 14 offset 0x8400010: rev 2
le0 at ledma0 slot 14 offset 0x8c00000 vector 21 ipl 6: address 08:00:20:7c:4f:b1
le0: 8 receive buffers, 2 transmit buffers
bpp0 at sbus0 slot 14 offset 0xc800000 vector 22 ipl 2: rev 2
pcons at mainbus0 not configured
scsibus0: waiting 2 seconds for devices to settle...
probe(esp0:0:0): max sync rate 10.00MB/s
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST34573WC, 6244> SCSI2 0/direct fixed
sd0: 4340 MB, 7501 cyl, 5 head, 237 sec, 512 bytes/sect x 8888924 sectors
probe(esp0:1:0): max sync rate 10.00MB/s
sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST31200W SUN1.05, 9462> SCSI2 0/direct fixed
sd1: 1006 MB, 2700 cyl, 9 head, 84 sec, 512 bytes/sect x 2061108 sectors
probe(esp0:6:0): max sync rate 4.23MB/s
cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM-5401TASUN4XCD, 2565> SCSI2 5/cdrom removable
raidattach: Asked for 4 units
Kernelized RAIDframe activated
root on sd0a dumps on sd0b
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying lfs...
mountroot: trying nfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
Alignment error: dsfsr=00000000:00800001 dsfar=ffffffff:ffff9934 isfsr=00000000:00000000 pc=0x10c394

--C7zPtVaVf+AK4Oqc--