From owner-freebsd-questions Mon Sep 18 21:32:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp4.singnet.com.sg (smtp4.singnet.com.sg [165.21.101.224]) by hub.freebsd.org (Postfix) with ESMTP id BDBBD37B423 for ; Mon, 18 Sep 2000 21:32:29 -0700 (PDT) Received: from netserver01 (ad202.166.107.59.magix.com.sg [202.166.107.59]) by smtp4.singnet.com.sg (8.11.0/8.11.0) with SMTP id e8J4XKZ88279 for ; Tue, 19 Sep 2000 12:33:20 +0800 (SGT) Message-Id: <3.0.32.20000919123043.013bda10@smtp.magix.com.sg> X-Sender: spades@smtp.magix.com.sg X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Tue, 19 Sep 2000 12:30:43 +0800 To: freebsd-questions@freebsd.org From: Spades Subject: Re: passwd Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I overwritten my /etc/passwd with /etc/adduser.conf and accidentally rebooted, now the passwds all cannot work. When i rename /etc/master.passwd to /etc/passwd, it might work too. When I run the passwd command, I get an error saying that the /etc/pwd.db is an incorrect file type or format. It looks like both, the /etc/pwd.db and /etc/spwd.db are corrupted. I am trying to get something working so that i can log in. Any idea? _.,+=~`^"-.,_.,+=~`^"-*.,_.,+=~'`^"-.,_.,+=~`^"-.,_.,+=~`^"-.,_.,+=~`^"- Cheng hui .,. Do not be anxious about anything, by spades@galaxynet.org .,. prayer and petition, with thanksgiving, http://npcrusade.web.com .,. present your requests to God. - Phil 4:6 _.,+=~`^"-.,_.,+=~`^"-.,_.,+=~`^"-.,_.,+*=~`^"-.,_.,+=%~`^"-.,_.,+=~`^"- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message