Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 1995 02:05:54 +0200 (MET DST)
From:      Piero Serini <piero@strider.ibenet.it>
To:        LPPelletier@cmq.qc.ca (Luc Pelletier)
Cc:        questions@FreeBSD.org
Subject:   Re: Passwd file?
Message-ID:  <199509120005.CAA29764@strider.ibenet.it>
In-Reply-To: <2232323.ensmtp@cmq.qc.ca> from "Luc Pelletier" at Sep 11, 95 03:50:08 pm

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 
<Piero@Free.IT>                                     I 20136 Milano - ITALY



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199509120005.CAA29764>