Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2001 06:28:05 -0800 (PST)
From:      Jamie Pemantell <techbot2@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   kern.securelevel not working like it's supposed to
Message-ID:  <20011203142805.85401.qmail@web14002.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help

Hi, 
I just completed a successful install of FreeBSD 4.4
RELEASE. I chose "high" security settings (level 1),
not realizing that this would disable me from running
X Windows.
There is a lot of documentation on how to solve this
problem on the web, but I haven't had any luck with
any of the prescribed methods. 
I've tried:
1. Issuing the sysctl -w command as root to change the
kern.securelevel variable value to 0. (Gives
"Operation not permitted" message.)
2. Commenting out lines in rc.conf that refer to
kern.securelevel. In theory, this should use the
default values from /etc/defaults/rc.conf (level -1).
3. Commenting out the last lines of /etc/rc that refer
to changing securelevel.
According to material on the web, one or all of these
should stop the securelevel from being changed when
the system goes into multiuser mode. However, INIT
still changes the secure level from 0 to 1 every time
the boot completes. 
Am I missing something? I thought that the config info
for INIT was stored in rc.conf, but that doesn't seem
to be the case. Any help would be appreciated, and I'd
be grateful if you'd copy me on the reply. 
Thanks, 
                Jamie 

__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

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?20011203142805.85401.qmail>