From owner-freebsd-questions@FreeBSD.ORG Tue Sep 2 04:09:05 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 28D1B1065672 for ; Tue, 2 Sep 2008 04:09:05 +0000 (UTC) (envelope-from adrian@gordinier.net) Received: from masterchief.gordinier.net (gordinier.net [75.127.66.238]) by mx1.freebsd.org (Postfix) with ESMTP id 091758FC15 for ; Tue, 2 Sep 2008 04:09:04 +0000 (UTC) (envelope-from adrian@gordinier.net) Received: from gordinier.net (localhost [127.0.0.1]) by masterchief.gordinier.net (Postfix) with ESMTP id D76562825C for ; Tue, 2 Sep 2008 03:45:31 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 2 Sep 2008 03:45:31 +0000 From: adrian To: freebsd-questions@freebsd.org Message-ID: <083ff0361f20bc08a90dab9e293478da@gordinier.net> X-Sender: adrian@gordinier.net User-Agent: RoundCube Webmail/0.1-rc1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: Locked myself out. 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, 02 Sep 2008 04:09:05 -0000 Hi all this is my first question on the list. I had been playing with securelevels and was in level 3 then I mistakenly executed "chflags schg /etc/rc.*" It wouldn't be such a problem but it as you guessed is on a remote server and I could pay a local guy there to drop to single-user but I thought this might be a good attempt at self hacking. But I am kind of a noob to FreeBSD so I have been Googleing and pouring over Absolute FreeBSD (Good book Thank-you Michael Lucas) looking for someway to execute a script to copy over my rc.conf before it loads. I figured it should be possible maybe though the /etc/rc file but I have had no luck with that. Please HELP! Adrian Gordinier