From owner-freebsd-questions Mon May 29 20:10:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from home.offwhite.net (home.offwhite.net [156.46.35.30]) by hub.freebsd.org (Postfix) with ESMTP id 0A61537B916 for ; Mon, 29 May 2000 20:10:14 -0700 (PDT) (envelope-from brennan@offwhite.net) Received: from localhost (brennan@localhost) by home.offwhite.net (8.9.1/8.9.3) with ESMTP id WAA96156; Mon, 29 May 2000 22:10:13 -0500 (CDT) Date: Mon, 29 May 2000 22:10:12 -0500 (CDT) From: BWS - Offwhite To: EmailWeb@aol.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Error In-Reply-To: <31.5b43bad.26644464@aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I once hosed a box of mine when I first started as a sys admin for two identical FreeBSD boxes. I was running as root and wanted to go to my regular user directory and change the ownership to my plain user. Here is the command I used... cd /home/brennan find / -exec chown brennan:users {} \; ^ As you see, it should have been... find . -exec chown brennan:users {} \; ^ (rookie error) It was a stupid mistake and this find took a very long time to run. I thought someone was hacking the box. Once I figured out the problem I tooke a snapshot of the twin box and ran a perl script that I wrote to compare permissions on each file and restore them back to the original settings. If you have a cdrom from Walnut Creek, you can use the live filesystem disk as an example and compare the key files and directories to determine if they look right to you. If you need to correct them, go from there. Good Luck! Brennan Stehling - web developer and sys admin projects: www.greasydaemon.com | www.onmilwaukee.com | www.sncalumni.com Microsoft: Will you get a macro virus today? http://www.greasydaemon.com/noms/ <- Why avoid MS? On Mon, 29 May 2000 EmailWeb@aol.com wrote: > FreeBSD/i386 (Dolphin) (ttyp0) > > login: netadmin > password: > Cannnot find root directory. > > > I need to know hjow ot make it so users can login > the Redhat Linux box which was monitoring this show a lot of chmoding going > on > when the BSD box was gotten into so what file should I chmod and to what > also the users direcotry are intact and unchmoded > -Sean > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message