From owner-freebsd-newbies@FreeBSD.ORG Wed May 28 01:06:37 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D45A037B401 for ; Wed, 28 May 2003 01:06:37 -0700 (PDT) Received: from fmx4.freemail.hu (fmx4.freemail.hu [195.228.242.224]) by mx1.FreeBSD.org (Postfix) with SMTP id 6951B43F3F for ; Wed, 28 May 2003 01:06:36 -0700 (PDT) (envelope-from gannater@freemail.hu) Received: (qmail 16373 invoked from network); 28 May 2003 10:06:34 +0200 Received: from fm6.freemail.hu (195.228.242.206) by fmx4.freemail.hu with SMTP; 28 May 2003 10:06:34 +0200 Received: (qmail 71849 invoked by uid 3644897); 28 May 2003 10:06:33 +0200 Date: Wed, 28 May 2003 10:06:33 +0200 (CEST) From: =?ISO-8859-2?Q?Gannater_J=E1nos?= To: freebsd-newbies@freebsd.org Message-ID: X-Originating-IP: [81.182.50.2] X-HTTP-User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-2 Subject: passwd X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 08:06:38 -0000 Hello, > Another newbie here, had a similar prob myself, try a reboot, and hit > any key (other than enter) before the kernel boots. Then go boot -s > (this boots you into single user mode) the type passwd, this will set > the root password, You can now log in as root, then > go /stand/sysinstall and you can add yourself as a user again. I thought of the same idea as well. My question is that how could it be that there is a user in the /etc/passwd file, but it doesn't exists. So I think there is a database and the /etc/passwd file that stores the user information. How can I compare them?