Re: Help - default password?

Ben Harris <[email protected]>
Newsgroups gmane.os.netbsd.ports.acorn32
Organization Linux Unlimited
Message-ID <[email protected]>
In article <[email protected]> you write:
>Help, I have just installed and booted 1.6 beta (first time BSD
>install), but I can't log in.
>
>From install.txt:
>
>::  2.   Logging in
>::
>::       After reboot, you can log in as root at the login prompt. Unless
>::       you've set a password in sysinst, there is no initial password.
>
>This appears not to be true - I have no recollection of setting a
>password in sysinst, but any attempt to login to root with a blank
>password is greeted with 'Login incorrect'

Very odd.

>Can anyone state what the default password really is, or how to login
>otherwise?

The master.passwd file installed with a new system contains:

root::0:0::0:0:Charlie &:/root:/bin/csh

which really is a null password.  Try booting single-user (erm, I think that
involves adding "-s" to the "BtNetBSD" line in !BtNetBSD.fastboot, but I'm
likely to be wrong -- I don't think I've ever booted an acorn32 box
single-user), and doing:

mount -u /
md5 /etc/passwd /etc/master.passwd /etc/pwd.db /etc/spwd.db
passwd root

And send us the result of the second command.  That way we can see whether
the password database you've got has got clobbered after installation, or
was broken as shipped.

-- 
Ben Harris                                                   <[email protected]>
Portmaster, NetBSD/acorn26           <URL:http://www.netbsd.org/Ports/acorn26/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.