Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 1996 23:45:21 +0000 ()
From:      James Raynard <fqueries@jraynard.demon.co.uk>
To:        slacomis@erols.com (Steven Lacomis)
Cc:        questions@freebsd.org
Subject:   Re: Help!...I'm locked out!
Message-ID:  <199607302345.XAA00635@jraynard.demon.co.uk>
In-Reply-To: <31FE5402.4CC4@erols.com> from "Steven Lacomis" at Jul 30, 96 02:27:14 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I am new to unix, but have a desire to learn.  I installed FreeBSD 2.1.0 
> from CD-ROM and rebooted the computer to start a unix session.  The 
> login prompt appeared but I had not specified any user name in the 
> installation and setup of FreeBSD.  I tried using anonymous.  This was 
> followed by a password prompt.  I did not specify a password for use in 
> installation and setup either.  I tried typing anonymous there too, but 
> the response was login incorrect.  I tried pressing only the enter key 
> for both entries but neither worked.
> 
> How can I get into my newly installed FreeBSD operating system.  Your 
> help will be greatly appreciated.

First of all, don't panic! :-)

Secondly, use 'root' (without the quotes) as the user name.  This is
an account that should only be used for system administration, as you
are effectively "God" and can wipe your system with a single careless
keystroke.  Also, you should be very careful not to allow other
people to use this account unless you are absolutely certain you
can trust them.  In particular, you *must* setup a password for root
if you are even thinking about putting your computer on the Internet.
To do this, give the passwd command and type in your chosen password
(you'll be asked for it twice, in case you mistyped it the first time).

Thirdly, set up an account for yourself by giving the adduser command.  
You should use this every time you log in in future - if you need to
do some system admin work, you can use the su command to temporarily
become root, but you must add yourself to the 'wheel' group in 
/etc/group for this to work, like so:-

Before
~~~~~~
wheel:*:0:root
...

After
~~~~~
wheel:*:0:root,james
...

Finally, get hold of a good book on Unix - you're going to need it! 
(There are some suggestions in the Handbook).




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607302345.XAA00635>