From owner-freebsd-questions Wed May 8 20:24:35 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA03734 for questions-outgoing; Wed, 8 May 1996 20:24:35 -0700 (PDT) Received: from mail0.iij.ad.jp (root@mail0.iij.ad.jp [192.244.176.61]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id UAA03726 for ; Wed, 8 May 1996 20:24:27 -0700 (PDT) Received: from uucp1.iij.ad.jp (uucp1.iij.ad.jp [192.244.176.73]) by mail0.iij.ad.jp (8.6.12+2.4W/3.3W9-MAIL) with ESMTP id MAA28295; Thu, 9 May 1996 12:24:20 +0900 Received: (from uucp@localhost) by uucp1.iij.ad.jp (8.6.12+2.4W/3.3W9-UUCP) with UUCP id MAA05806; Thu, 9 May 1996 12:24:19 +0900 Received: from xxx.fct.kgc.co.jp by yyy.kgc.co.jp (8.7.5/3.4W:95122611) id LAA07911; Thu, 9 May 1996 11:26:33 +0900 (JST) Received: by xxx.fct.kgc.co.jp (8.6.12/3.3W8:95062916) id LAA03597; Thu, 9 May 1996 11:26:33 +0900 Date: Thu, 9 May 1996 11:26:33 +0900 From: Toshihiro Kanda Message-Id: <199605090226.LAA03597@xxx.fct.kgc.co.jp> To: "Test Account" Cc: questions@FreeBSD.ORG In-reply-to: <199605072243.PAA09812@m1.sprynet.com> Subject: Re: Please Help ... I am locked out of a FreeBSD machine Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > In /temp as root, I typed the following ... > > chown -R test .* Just a little advice. Mtree(8) will help you recover *only* directory hierarchy. Boot your system as single user mode (boot: -s). Then mount all filesystems. Then see mtree(8). Run # mtree -u -p / -f /etc/mtree/BSD.root.dist and so on... candy@fct.kgc.co.jp (Toshihiro Kanda)