From owner-freebsd-questions Thu Jan 18 15:10:27 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA10719 for questions-outgoing; Thu, 18 Jan 1996 15:10:27 -0800 (PST) Received: from gdi.uoregon.edu (riley-net170-164.uoregon.edu [128.223.170.164]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA10711 for ; Thu, 18 Jan 1996 15:10:20 -0800 (PST) Received: (from dwhite@localhost) by gdi.uoregon.edu (8.6.12/8.6.12) id PAA02893; Thu, 18 Jan 1996 15:11:38 -0800 Date: Thu, 18 Jan 1996 15:11:37 -0800 (PST) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Tony Beine cc: questions@FreeBSD.org Subject: Re: (no subject) In-Reply-To: <199601181742.LAA24428@thor.inlink.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org Precedence: bulk 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 To: zoogy@cris.com Cc: questions@FreeBSD.ORG Subject: Re: Users >>>>> "Chad" == Chad Shackley 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