Re: finishing nfs install

Hugh Graham <[email protected]> Mon, 5 May 2003 06:00:47 -0700
Newsgroups gmane.os.openbsd.vax
Message-ID <[email protected]>
On Mon, May 05, 2003 at 10:34:51PM +1000, Hamish Moffatt wrote:
> Hi all,
> 
> I'm attempting to set up NFS root to run a 4000/600A and a 400/700A
> (since the DSSI disks aren't accessible). I extracted the distribution
> file sets but need some help finishing it off.
> 
> Firstly, how can I populate /dev? I made a couple of entries that seemed
> critical like console and null, but need the rest for everyhing to work.

``cd /export/.../dev && sh MAKEDEV all'' will build the standard
entries. This will work fine even when run on the host server,
although the entries it creates will only make sense to the vax.

> 
> Secondly, how can I create an initial account, or set the initial root
> password? Can I copy the passwd and group files from an i386 OpenBSD
> machine (as well as /home)?

You can, or just "boot bsd -s" at the boot> prompt to boot single
user and run passwd from there. This works without password as long
as the console is marked "secure" in /etc/ttys. To do this manually
you'd have to use encrypt(1), an editor, and pwd_mkdb(8).

Have fun with the spiffy systems,

/Hugh

> 
> 
> thanks,
> Hamish
> -- 
> Hamish Moffatt VK3SB <[email protected]> <[email protected]>