*BSD News Article 51961


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!col.hp.com!usenet.eel.ufl.edu!news.mathworks.com!newshost.marcam.com!usc!howland.reston.ans.net!agate!tfs.com!mailhub.tfs.com!julian
From: julian@mailhub.tfs.com (Julian Elischer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: HELP!  What the hell is goin on?
Date: 24 Sep 1995 02:11:19 GMT
Organization: TRW Financial Systems, Oakland, CA
Lines: 111
Message-ID: <442eo7$g90@times.tfs.com>
References: <43vqpr$i8d@newsbf02.news.aol.com> <441rnj$gdr@homer.alpha.net>
NNTP-Posting-Host: mailhub.tfs.com

In article <441rnj$gdr@homer.alpha.net>,
David Rudder <drig@earth.execpc.com> wrote:
-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.

well you're close..

-
-: 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

Adduser is a script yes, possibly perl in 2.0 (I can't remember)
I'm not SURE if it was inluded.. possibly not.

you can add users by editing passwd file..
use 'vipw' to do this. It will automatically update the shadow passwdfile
and the associated databases..
the format has two extra fields from the linux one.. (when seen in vipw)

nobody:*:uid:gid::0:0:Unprivileged user:/home/dir:/bin/sh

you don't edit /etc/passwd directly, otherwise the databases aren't
updated.

-The uid should be unique.  The gid should have a corresponding 
-number/name in /etc/group.
don't forget to make a home directory..
In 2.0.5 ther eis a directory /usr/share/skel with sample
'.' files that set up the path.. I'm not sure if this is true for 2.0

-
-: 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).
you rlogin directory should have a file in it 
that sets these up at boot..

for Bourne shell....   .profile
for Cshell             .login   and    .cshrc

they are executed when you log in..
-
-: 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?
-
It's sitting over on screen 2 (<CTL><ALT><F2>) waiting for you
to answer some questions..
this was (Rather stupidly) ommitted in the documentation and appropriate
people have been beaten with wet noodles.

-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
-
+----------------------------------+       ______ _  __
|   __--_|\  Julian Elischer       |       \     U \/ / On assignment
|  /       \ julian@tfs.com        +------>x   USA    \ in a very strange
| (   OZ    ) 300 lakeside Dr. oakland CA. \___   ___ | country !
+- X_.---._/  USA+(510) 645-3137(wk)           \_/   \\            
          v