Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2002 18:04:26 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        adriankok2000@yahoo.com.hk (=?iso-8859-1?q?adrian=20kok?=)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: securelevel and make buildworld
Message-ID:  <200208302204.g7UM4Qe06656@clunix.cl.msu.edu>
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

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208302204.g7UM4Qe06656>