From owner-freebsd-questions Mon Oct 18 9:31:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dns.ie-online.it (dns.ie-online.it [194.133.148.8]) by hub.freebsd.org (Postfix) with ESMTP id 891EE14D50 for ; Mon, 18 Oct 1999 09:31:45 -0700 (PDT) (envelope-from sriva@alice.it) Received: from dns.ie-interna.it (host-ie-trezzano.ie-online.it [194.133.148.44]) by dns.ie-online.it (8.8.8/8.8.8) with ESMTP id SAA05604; Mon, 18 Oct 1999 18:31:44 +0200 (CEST) (envelope-from sriva@alice.it) Received: from stefano (stefano.ie-interna.it [192.168.0.33]) by dns.ie-interna.it (8.8.8/8.8.8) with SMTP id SAA08272; Mon, 18 Oct 1999 18:31:43 +0200 (CEST) (envelope-from sriva@alice.it) Message-Id: <3.0.5.32.19991018183143.00b303a0@relay.alice.it> X-Sender: riva@relay.alice.it X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 18 Oct 1999 18:31:43 +0200 To: bill slaybaugh From: Stefano Riva Subject: Re: passwd does not see pwd.db Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <380B389B.8671121B@bright.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 11.11 18/10/99 -0400, you wrote: >but then running 'passwd root' returns: From single user mode, after having mounted /usr if necessary, try using "vipw" (or any editor on /etc/master.passwd, followed by "pwd_mkdb"), cleaning the password file, leaving the root line without password (something like "root::0:0..."). Then you should be able to login normally as root without password; at that time use "passwd" to set a password. --- Stefano Riva Systems & Network Administrator Informazioni Editoriali I.E. Srl Voice +39-02283151, Fax +39-0228315900 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message