*BSD News Article 75070


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!samba.rahul.net!rahul.net!a2i!olivea!spool.mu.edu!howland.reston.ans.net!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!news.emf.net!overload.lbl.gov!gracie.lbl.gov!jin
From: jin@gracie.lbl.gov (Jin Guojun[ITG])
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Is securitylevel implemented in FreeBSD?
Date: 31 Jul 1996 00:04:36 GMT
Organization: Lawrence Berkeley Laboratory
Lines: 27
Message-ID: <4tm7uk$1me@overload.lbl.gov>
NNTP-Posting-Host: gracie.lbl.gov

I have a question on setting securitylevel under FreeBSD. Here is what I did:

# sysctl kern.securelevel
kern.securelevel = -1			??? should be = 1 ???
# sysctl -w kern.securelevel=2
kern.securelevel: -1 -> 2

#cat > /etc/xxx

# sysctl -w kern.securelevel=5
kern.securelevel: 2 -> 5

# cat > /etc/xxx

The disk is still writeable. If I remember correctly, when the security
level is greater (higher) than 1, the entire system is read only.

So, does any one know if securitylevel works in FreeBSD?

Thanks for any information,


--
/-------------- Jin Guojun ------------ v ---- Internet: g_jin@lbl.gov ----\
|	Imaging & Distributed Computing | Usenet: ucbvax!g_jin@lbl.gov	   |
|	Lawrence Berkeley Laboratory	| Bitnet:	--		   |
|	50B-2239, Berkeley, CA 94720	-  jin%george.lbl.gov@Csa3.LBL.Gov |