Date: Thu, 22 Jan 1998 06:50:16 -0500 From: John Duncan <jddst19+@pitt.edu> To: Rodolfo Dibo <rdibo@netium.com.br> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Install Message-ID: <34C73278.4EBBCAB8@pitt.edu> References: <01bd2728$c0bb08e0$837df1c8@rodolfod>
next in thread | previous in thread | raw e-mail | index | archive | help
> Rodolfo Dibo wrote: > > I tried to install FreeBSD + Win95. After i finished installation, > when I boot on FreeBSD the system ask me for "login:" and "Password:" > and I can't make the login, geting a "login Incorrect" message. How > can I configure a login and password? > Thank you First, try typing "root" when it asks you for a login. It probably won't even need to go for a password. If that fails, follow these instructions: When the boot prompt comes up, type "-s" at the ":" prompt. After the system boots, it will ask you for a shell. type "sh" then execute this command: mount -a and then these: PATH=/bin:/sbin:/usr/bin:/usr/sbin: export PATH vipw The "ee" editor should come up with your password file on it. it should look like this root:1$aw234a23ijo;i34oi;j3oi4:0:0:... daemon:*:... delete all the junk between the first and second colons on the line labeled root. exit the editor, and vipw should tell you some nice messages, and you'll be returned to your prompt. type exit and when the system comes up multiuser, (i.e. login:), you should type "root". Then, you can type passwd and it will ask you to set a password for the root account. The root is the superuser, and has many priviliges that you do not want for everyday use, so you should read the handbook to find out about adding new users. If you installed lynx, then you can read the handbook with lynx /usr/share/doc/handbook/handbook.html you don't want to run as root because it is very easy to be in the middle of things and screw up royally. For example, many sysadmins have typed "kill 1" instead of "kill %1" when they wanted to kill one of thier background processes, and they ended up killing init, which essentially disables the machine for a few minutes, losing all work that was unsaved for all users. It's annoying to the single user as well. I'd recommend that you get some of the O'Reilly books on unix and unix system administration. They're concise and informative. It will make learning to use your own system a lot easier. -John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34C73278.4EBBCAB8>