From owner-freebsd-questions Fri Aug 30 15: 4:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E412A37B400 for ; Fri, 30 Aug 2002 15:04:28 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6013743E4A for ; Fri, 30 Aug 2002 15:04:28 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id g7UM4Qe06656; Fri, 30 Aug 2002 18:04:26 -0400 (EDT) From: Jerry McAllister Message-Id: <200208302204.g7UM4Qe06656@clunix.cl.msu.edu> Subject: Re: securelevel and make buildworld To: adriankok2000@yahoo.com.hk (=?iso-8859-1?q?adrian=20kok?=) Date: Fri, 30 Aug 2002 18:04:26 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <20020830215747.18860.qmail@web21201.mail.yahoo.com> from "=?iso-8859-1?q?adrian=20kok?=" at Aug 31, 2002 05:57:47 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Hi all > > Please teach me: > > I put the following in the rc.conf > > kern_securelevel_enable="NO" > kern_securelevel="-1" > > But I can't move the kernel? > mail# mv /kernel /kernel.a > mv: rename /kernel to /kernel.old: Operation not > permitted You also need: chflags noschg /kernel Then when the dust settles and you have a new kernel and permissions set do: chflags schg /kernel ////jerry - other stuff cut - > > Thank you > > > _______________________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk > > 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