Subject: (snapshot/20010517, 20010524) invalid user name
To: None <port-macppc@netbsd.org>
From: Makoto Fujiwara <makoto@ki.nu>
List: port-macppc
Date: 05/27/2001 15:48:12
I have created two macppc/snapshot,
20010517 (no X) and 20010524 (with X)

ftp://ftp.ki.nu/pub/NetBSD/arch/macppc/20010517/
ftp://ftp.ki.nu/pub/NetBSD/arch/macppc/20010524/

ftp://ftp.kddlabs.co.jp/.6/Japan/ki.nu/NetBSD/arch/macppc/snapshot/20010517/
ftp://ftp.kddlabs.co.jp/.6/Japan/ki.nu/NetBSD/arch/macppc/snapshot/20010524/

But install kernel seems to have some userid 
problem, say root is not recognized as root.
(This problem appears at ./MAKEDEV all)

Just after floppy boot, 
If I creat a file with cat, and ls -l shows just
0 for the owner, 
   -rw-r--r--  1 0  wheel  5 May 27 06:47 /tmp/yy
and chown root.wheel that file gives an error. 
This appears on both snapshot, the machines I have
tested are StarMax 3000/200 (fd:0) iBook S/E 366 ( netbsd.GENERIC_MD.gz)
---------------------------------
Open Firmware, 2.0.2
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
 ok
0 > boot fd:0 -
>> NetBSD/macppc OpenFirmware Boot, Revision 1.3
>> (root@nazuha, Sun May 20 11:18:10 JST 2001)
3595448+154768=0x393be8
 start=0x800000
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.5V (INSTALL) #1: Sun May 20 20:52:21 JST 2001
    root@nazuha:/usr/src/sys/arch/macppc/compile/INSTALL
total memory = 16384 KB
avail memory = 10260 KB
using 230 buffers containing 920 KB of memory
no active packagemainbus0 (root)
cpu0 at mainbus0: 603ev (Revision 201), ID 0 (primary)
cpu0: ohare L2 cache enabled
bandit0 at mainbus0
.....
.....
root on md0a dumps on md0b
WARNING: clock gained 6 days -- CHECK AND RESET THE DATE!
root file system type: ffs
erase ^H, werase ^W, kill ^U, intr ^C, status ^T
Terminal type? [vt100] xterm
Erase is backspace.
(I)nstall, (S)hell or (H)alt ? s
# df
Filesystem  512-blocks     Used     Avail Capacity  Mounted on
/dev/md0a         3951     3368       583    85%    /
mfs:14           15822        2     15028     0%    /tmp
# cat >/tmp/yy
test
^D
# ls -l /tmp/yy
-rw-r--r--  1 0  wheel  5 May 27 06:47 /tmp/yy
# chown root.wheel /tmp/yy
chown: root: invalid user name
# cat /etc/passwd
root:*:0:0:Charlie &:/root:/bin/csh
toor:*:0:0:Bourne-again Superuser:/root:/bin/sh
daemon:*:1:31:The devil himself:/:/sbin/nologin
operator:*:2:5:System &:/usr/guest/operator:/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/sbin/nologin
news:*:6:8:Network News:/var/spool/news:/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/sbin/nologin
postfix:*:12:12:Postfix pseudo-user:/var/spool/postfix:/sbin/nologin
named:*:14:14:Named pseudo-user:/var/named:/sbin/nologin
uucp:*:66:1:UNIX-to-UNIX Copy:/var/spool/uucppublic:/usr/libexec/uucp/uucico
nobody:*:32767:39:Unprivileged user:/nonexistent:/sbin/nologin
# echo ~root
/root
#        
---
Makoto Fujiwara,Chiba Japan
http://www.ki.nu/software/NetBSD/iBook2/