*BSD News Article 51438


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!in1.uu.net!solaris.cc.vt.edu!homer.alpha.net!earth!drig
From: drig@earth.execpc.com (David Rudder)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: HELP!  What the hell is goin on?
Date: 23 Sep 1995 20:46:43 GMT
Organization: Exec-PC
Lines: 68
Message-ID: <441rnj$gdr@homer.alpha.net>
References: <43vqpr$i8d@newsbf02.news.aol.com>
NNTP-Posting-Host: earth.execpc.com
X-Newsreader: TIN [version 1.2 PL2]

ERBalch (erbalch@aol.com) wrote:
: I just installed FreeBSD 2.0 from the CD from Wallnut Creek.  The install
: went perty smoothly but now I am having a bear of a time trying to get
: some simple things to work.  Can anyone please help?

I'm a Linux user, first entering the FreeBSD world, so I might not get 
some things right.  But here are what I think are the most likely answers.

: Problem 1:
: Where the hell is "adduser"...  I know it must be on the filesystem
: somewhere!  There is an entry in the man pages for it but when I try to
: use the command I get the typical "Command not found" or some such
: message.  I kinda thought that this was a standard program that was
: automatically installed in /usr/bin or somthing.  NOTE: There seem to be
: some other commands/programs missing from the filesystem but where ever
: "adduser" is I expect to fing the others right there with it...

Adduser is a nifty script that adds the user's info into two files 
/etc/passwd and /etc/shadow(possibly...if it's not there, you aren't 
shadowing and don't worry about it for now).  Edit the file /etc/passwd 
by hand, and add the user by following the previous examples.  The fields 
are all separate by :'s.  Leave the password field blank and have the 
user type in "passwd".  Here's the layout of the passwd file.
login name:password:uid:gid:real name:home directory:default shell

The uid should be unique.  The gid should have a corresponding 
number/name in /etc/group.

: Problem 2:
: Now this is a definate newbe question but understand that all my UNIX
: expirence has been through NEXTSTEP which basicaly totally configures the
: shell for you, paths and all.  Anyway, I seem to be unable to execute
: several programs for some strange reason or maybe not so strange.  What
: happens is, I get into a directory, say /usr/games and try to run one of
: the games there by typing its name at the prompt and pressing enter.  All
: I get once again is "Command not found" or some such BS.  Wus up with
: that???

You have to have the path set in your path environment variable.  If you 
are not running as root, make sure to have the path include ".".  This 
tells it to look in the directory you are in.  Try just specifing 
./nethack (or whatever).

: Problem 3:
: For some reason everytime I tryed to install XFree86 from the CD from the
: component install menu the install program would go off and check the
: install checksum and then say it was installing the package and just kinda
: stop not hang, just stop.  I could abort the install by hitting ^C but
: then I could not find a way to get back into the coomponent installer to
: try again and would have to start the hole install over again.  That
: sucked!  Is there any way to get back into that menu w/out starting over
: or any other way to install XFree86 from the CD?

Um, beyond me as far as the BSD install goes.  You can always compile it 
for yourself.  Also, check to see if it allows you to specify packages.  
Another thing you could try is untarring the package.  First untar into 
the /tmp directory as this might produce weird results. 

: Please Help if you can!
: I know I am probibaly clueless but please bear with my stupid questions.

: Thankx very much!

--
My opinions are my own.  Don't bother my boss.

     David Rudder  -  drig@execpc.com  -  http://www.execpc.com/~drig