From owner-freebsd-questions@FreeBSD.ORG Tue Mar 11 12:09:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A805106566C for ; Tue, 11 Mar 2008 12:09:41 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 4189D8FC1E for ; Tue, 11 Mar 2008 12:09:40 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id E178F1CCAC; Tue, 11 Mar 2008 04:09:38 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 11 Mar 2008 13:09:36 +0100 User-Agent: KMail/1.9.7 References: <22c1f1e5cca8ccef59f6c8b107160fd2@prodigy.net> In-Reply-To: <22c1f1e5cca8ccef59f6c8b107160fd2@prodigy.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803111309.37340.fbsd.questions@rachie.is-a-geek.net> Cc: jekillen Subject: Re: re subscribing to the list X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 12:09:41 -0000 On Tuesday 11 March 2008 05:18:37 jekillen wrote: > I have it shut down now incase that is the situation (someone was able to > change or corrupt the root password) But it appears that it somehow has > just gotten corrupted so it won't work. Is that possible. > The long and short is I want to avoid having to re install the system > and software. So boot into single user mode: # fsck -p / # mount -u / # mount -o ro /usr # env EDITOR=/usr/bin/vi vipw On the root entry, change the part between the first and second colon (':') to a star ('*'), write and exit (:wq) and set password for using passwd command. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.