Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 1996 15:11:37 -0800 (PST)
From:      Doug White <dwhite@riley-net170-164.uoregon.edu>
To:        Tony Beine <slms@inlink.com>
Cc:        questions@FreeBSD.org
Subject:   Re: (no subject)
Message-ID:  <Pine.BSF.3.91.960118151053.2882B-100000@gdi.uoregon.edu>
In-Reply-To: <199601181742.LAA24428@thor.inlink.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 18 Jan 1996, Tony Beine wrote:

> I would really like to lear Unix.  So, my problem is the install went 
> well It boots up noproblem. I just don't know the login.  It didn't ask
> for any users, and I know I need to create them. I don't know the login 
> for the Administer.  

This was posted just recently with someone with the same problem :)

--whap--

>From kelly@fsl.noaa.govThu Jan 18 15:10:37 1996
Date: Wed, 17 Jan 1996 07:20:05 -0700
From: Sean Kelly <kelly@fsl.noaa.gov>
To: zoogy@cris.com
Cc: questions@FreeBSD.ORG
Subject: Re: Users

>>>>> "Chad" == Chad Shackley <zoogy@cris.com> writes:

    Chad> seemed fine, = so I rebooted.  It came back up with a login
    Chad> prompt.  The instructions = didn't say anything about this

Welcome to Unix.

Unix absolutely needs one user account, the system manager's account,
in order to things to run.  That account is named `root'.  When you
see the login prompt, type `root' and press return.  You should not be
prompted for a password.  (See below if you are.)

Now, this is a big security hole---the root account should always have
a password, so the first thing you should do is set the password for
the root account by typing the `passwd' command.

Enter a password for the root account.  You won't see it appear on
screen to prevent people who might be looking over your shoulder from
seeing it.

Okay, so you've logged in as root and you've made a password for root
... now what?  Make an account for YOURSELF.  Never do any of your
personal work as root.  Only do system administration as root.

So, type `adduser' and answer the questions to make an account `zoogy'
or `chad' or whatever you want to call it for yourself.  Then log out
of root and log back in with your personal account.

And have fun!

If you need to do system administration again, just log in as `zoogy'
or `chad' or whatever and then type the `su' command to become root.

------------------------------------------------------------------------

What if you WERE prompted for a password after you typed `root'?

Don't worry, you're not out of luck yet.  Shut down your system as
cleanly as possible.  CTRL+ALT+DEL might work.  If that doesn't do it,
try logging in as `sync' with no password.  Repeat two more times.
Then hit the reset switch.

When FreeBSD boots, you'll see the `boot:' prompt.  If you just wait,
it'll automatically boot.  So, very quickly, type `-s' and press
return, which means `boot into single user mode.'

Single user mode is a special maintenance mode for fixing system
problems.  And forgetting the root password is definitely a system
problem.

You'll be aksed for a shell to use.  Just press return and you get the
Bourne shell.  This shell runs as root.

So type `mount -a' to get your filesystems mounted.  And then type
`passwd' to set a new password for the root account, as above.

Then type `adduser' as above to make an account for yourself.

Then type CTRL+D to exit the root shell in single user mode.  This
will enter multiuser mode.  You'll see the familiar `login:' prompt.
Login with your new personal account and have at it!

-- 
Sean Kelly
NOAA Forecast Systems Laboratory, Boulder Colorado USA

--whap--

Hope this helps.

Doug White                              | University of Oregon  
Internet:  dwhite@gladstone.uoregon.edu | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960118151053.2882B-100000>