I had working 10.0/amd64 system with bunch of packages from pkgin. Pkgin update/upgrade worked fine, so I tried to sysupgrade system.
Uh, this failed because I pointed sysupgrade at netbsd-10/daily snapshots and unpacking base from there broke tar (libarchive so.4 not found) and bunch of other binaries including passwd (!?).
Ok, booted single user, started dhcpcd (client) downloaded base.tgz from
ftp.netbsd.org 10.1 branch (dec 17), unpacked it with tar from /rescue.
Now things more or less work, but I can't su to root. Console login works for both user and root, but su from anywhere (real console, xterm, ssh session) does not work.
I am still in "wheel" group as shown by output of groups.
Any idea how to debug this?