From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 14:23:08 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C381B4C for ; Wed, 1 Oct 2014 14:23:08 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D494DDE0 for ; Wed, 1 Oct 2014 14:23:07 +0000 (UTC) Received: from r56.edvax.de (port-92-195-78-222.dynamic.qsc.de [92.195.78.222]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 3F49527694; Wed, 1 Oct 2014 16:22:56 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s91EMvAG003195; Wed, 1 Oct 2014 16:22:57 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 1 Oct 2014 16:22:57 +0200 From: Polytropon To: allen harris Subject: Re: log in and password. Message-Id: <20141001162257.9f9e0d70.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: "freebsd-questions@FreeBSD.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2014 14:23:08 -0000 On Wed, 1 Oct 2014 13:54:37 +0000, allen harris wrote: > Sent from Windows Mail Nice ad. How much do they pay you? ;-) > im a newbie at this sort of computing , but willing to > learn through trial and error, but these damn images > are driving me mad. I follow all the instructions word > for word, everything goes smooth until it asks for a > login after it reboots ,to keep things easy id used > the same word for login and password and root password > so I thought I couldn't go wrong by forgetting which > was which….. clever I thought right up to the point of > entering it and being refused with an incorrect login > remark, I just cant see the point of installing password > protection of my own choosing if its not going to grant > me access anyway , so ive since used different words > for pass login etc but always the same problem login > incorrect , what and where am I going wrong im at my > wits end please help but don't get to technical or else > itll go over my head . Your question doesn't state clearly if you have forgotten your root password or a user password. In case it's about a user password, and you still have root access, you can reset the user's password by the command # passwd Enter a new password (twice). Remember that password, and you'll be able to login with that username again. But in case you lost the system administrator's password (root's password), things are a bit more complicated, which is intended though the security model of UNIX. In order to reset the root password, you need to switch your system to single user mode, either by entering # shutdown now from multi user mode (as root), _or_ starting the system with Boot: boot -s and _then_, after having arrived in single user mode (some- times called maintenance mode or maintenance shell) perform the following operation: # passwd root This will allow you to reset root's password without having to know it beforehand. NB: This is only possible if your console is set as "secure" (which is the default). See the FAQ entry here: https://www.freebsd.org/doc/faq/admin.html#idp59717152 As you can see, it's not complicated. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...