From owner-freebsd-questions Mon Sep 11 17:04:54 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA12479 for questions-outgoing; Mon, 11 Sep 1995 17:04:54 -0700 Received: from strider.ibenet.it (root@[194.179.130.1]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA12470 for ; Mon, 11 Sep 1995 17:04:50 -0700 Received: (from piero@localhost) by strider.ibenet.it (8.6.12/8.6.12) id CAA29764; Tue, 12 Sep 1995 02:05:54 +0200 From: Piero Serini Message-Id: <199509120005.CAA29764@strider.ibenet.it> Subject: Re: Passwd file? To: LPPelletier@cmq.qc.ca (Luc Pelletier) Date: Tue, 12 Sep 1995 02:05:54 +0200 (MET DST) Cc: questions@FreeBSD.org In-Reply-To: <2232323.ensmtp@cmq.qc.ca> from "Luc Pelletier" at Sep 11, 95 03:50:08 pm Reply-To: piero@strider.ibenet.it Operating-System: FreeBSD 1.1.5.1 X-Phone-Number: +39 (2) 58113562 X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 680 Sender: questions-owner@FreeBSD.org Precedence: bulk Hello. Quoting from Luc Pelletier (Mon Sep 11 21:50:08 1995): > Suppose I've lost my root password. I managed to create a boot diskette on > which I put a copy of the files passwd and master.passwd. Those files contains ... > I rebooted from the hard disk and to my great surprise, I had to give my old > password for the root in order to log in. ... You need to copy /etc/pwd.db and /etc/spwd.db. They are the real files which are looked into by login. Bye, -- # $Id: .signature,v 1.12 1995/08/14 12:10:54 piero Exp $ Piero Serini Via Giambologna, 1 I 20136 Milano - ITALY