From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 18 02:46:58 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9716037B401 for ; Fri, 18 Jul 2003 02:46:58 -0700 (PDT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AF5843FB1 for ; Fri, 18 Jul 2003 02:46:57 -0700 (PDT) (envelope-from mail23@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.9/8.12.9) with ESMTP id h6I9lW8P033188; Fri, 18 Jul 2003 11:47:36 +0200 (CEST) (envelope-from bulk@ei.bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.12.9/8.12.9/Submit) id h6I9lW7M033187; Fri, 18 Jul 2003 11:47:32 +0200 (CEST) Date: Fri, 18 Jul 2003 11:47:32 +0200 From: Ruben de Groot To: Valentin Nechayev Message-ID: <20030718094732.GA32662@ei.bzerk.org> References: <20030718091248.GO76126@lucky.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030718091248.GO76126@lucky.net> User-Agent: Mutt/1.4.1i cc: hackers@freebsd.org Subject: Re: complicated downgrade X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 09:46:58 -0000 On Fri, Jul 18, 2003 at 12:12:48PM +0300, Valentin Nechayev typed: > > 8. Disable all processes except sshd and run the following (saying generally): > > for D in /bin /sbin /etc /boot /usr/bin /usr/sbin /usr/lib /usr/libexec \ > /usr/libdata /usr/share /usr/local /var/db > do > mv ${D} ${D}5 > mv ${D}4 {D} > done I think you're screwed the moment $D == /usr/lib -Ruben