Subject: All fixed!
To: NetBSD Questions <amiga@NetBSD.ORG>
From: Ola Eric Olsson <oeolsson@CERF.NET>
List: amiga
Date: 01/14/1996 21:18:27
Hi,
Thank you all for your help with my login problems. Special thanks to you Jose.
I'm back up and running with X11R6, however, it's not the way I expected, and
perhaps not the preferred way.

I logged in as root using loadbsd -S netbsd. I used 'mount -av', then 'export
TERM=vt220' to activate vi. I then used 'chpass root' and 'chpass ola' to
reconfigure the /etc/passwd file. 'ola' got no password and looked like this:
   Login: ola
   Password:
   Uid [#]: 100
   Gid [# or name]: 0
   Change [month day year]:
   Expire [month day year]:
   Class:
   Home directory: /home/ola
   Shell: /bin/csh
   Full Name: Ola Olsson
   Location:
   Office Phone:
   Home Phone:

Then I used 'chpass root' to get this:
   Login: root
   Password: ragnar
   Uid [#]: 0
   Gid [# or name]: 0
   Change [month day year]:
   Expire [month day year]:
   Class:
   Home directory: /root
   Shell: /bin/csh
   Full Name: Ola Olsson
   Location:
   Office Phone:
   Home Phone:

I still could not login as root; it wouldn't accept 'ragnar' as my password. I
also tried using '*' for password as Jose has indicated in his examples but
then I couldn't login as either. I ended up removing the password for both and
now I can login as ola or 'su' to root.

I also appended these files:

   added /usr/local/X11R6/bin to the PATH in .cshrc
   added /usr/local/X11R6/bin to the PATH in .profile


To /etc/rc.local I added the following:
   export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/X11R6/bin
   grfconfig /dev/grf3 /usr/local/X11R6/lib/X11/xinit/mymonitor.file
   startx

Now I'm up and running. I was originally trying to use 'setenv' instead of
export without realizing that, at that point in the startup, setenv didn't
exist yet. I didn't even know 'export' existed until you pointed me to it.

Well I'm going to enjoy this as long as I can before I try to break it again. I
need to do my homework with regard to NetBSD.

Thanks again,
Ola