From owner-freebsd-questions Thu Feb 17 5:10:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ckmso1.proxy.att.com (ckmso1.att.com [12.20.58.69]) by hub.freebsd.org (Postfix) with ESMTP id 907EF37B71D for ; Thu, 17 Feb 2000 05:10:22 -0800 (PST) (envelope-from jwb@homer.att.com) Received: from ulysses.homer.att.com ([135.205.193.4]) by ckmso1.proxy.att.com (AT&T IPNS/MSO-2.2) with ESMTP id IAA19288 for ; Thu, 17 Feb 2000 08:10:20 -0500 (EST) Received: from akiva.homer.att.com (akiva.homer.att.com [135.205.198.103]) by ulysses.homer.att.com (8.9.3/8.9.3) with ESMTP id IAA15219 for ; Thu, 17 Feb 2000 08:10:19 -0500 (EST) Received: from akiva.homer.att.com (localhost [127.0.0.1]) by akiva.homer.att.com (8.8.8+Sun/8.8.8) with ESMTP id IAA20440 for ; Thu, 17 Feb 2000 08:10:18 -0500 (EST) Message-Id: <200002171310.IAA20440@akiva.homer.att.com> X-Mailer: exmh version 2.0.3 3/22/1999 To: freebsd-questions@freebsd.org Subject: passwd file repair Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 17 Feb 2000 08:10:17 -0500 From: "J. W. Ballantine" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Since the questions search/browse is down on freebsd.org, I'm asking for some help in repairing the passwd file that I managed to mess up. I boot in single user mode, enter: mount -u / mount -t -a ufs swapon -a and then enter vipw, to which I get ex/vi not found. What else/does one need to do to run vipw in single user mode, or what needs to be done to rebuild the shadow passwd file if I edit passwd with ex??? Thanks and sorry for the basic question. Jim Ballantine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message