Date: Sat, 2 Dec 2000 17:45:56 +0200 From: Marc Silver <marcs@draenor.org> To: Tomaz Izanc <tomaz@it-t.si> Cc: "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: Re: kern.securelevel Message-ID: <20001202174556.D51698@draenor.org> In-Reply-To: <3A2901D2.E97FFA6E@it-t.si>; from tomaz@it-t.si on Sat, Dec 02, 2000 at 03:06:10PM %2B0100 References: <3A2901D2.E97FFA6E@it-t.si>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi there, If you want to make your securelevel -1 then your line must look like this in /etc/rc.conf kern_securelevel="-1" You then have to reboot as you can't go down a securelevel while a machine is already at a higher level. You will then be able to change the immutable flag on the kernel. :) See the man page for init(8) which can provide you with more info. Cheers, Marc On Sat, Dec 02, 2000 at 03:06:10PM +0100, Tomaz Izanc wrote: > > hello! > > How can I setup kern.securelevel to 0 or -1 ? > in rc.conf i have setup : > > kern_securelevel="0" > kern_securelevel_enable="YES" > > but nothing.. > bash-2.04$ sysctl kern.securelevel > kern.securelevel: 1 > > and if I go to : > shutdown now > I have also kern.securelevel: 1 > ..... > why all this.. > I want to change flags for /kernel > > su-2.04# chflags noschg /kernel > chflags: /kernel: Operation not permitted > su-2.04# > > so if anyone has some words for me pls. > brgd, > Tomaz 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?20001202174556.D51698>