*BSD News Article 86925


Return to BSD News archive

Newsgroups: comp.unix.bsd.netbsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!ix.netcom.com!newsfeeds.sol.net!newspump.sol.net!howland.erols.net!worldnet.att.net!cbgw2.lucent.com!oucsboss!news
From: Mark Allman <mallman@thoth.cs.ohiou.edu>
Subject: Re: NetBSD and NetConfig
X-Nntp-Posting-Host: thoth.cs.ohiou.edu
Message-ID: <d7afq94nb5.fsf@thoth.cs.ohiou.edu>
Lines: 33
Sender: news@boss.cs.ohiou.edu (News Admin)
X-Nntp-Posting-Date: Thu Jan 16 11:06:18 1997
Organization: Late Night Hackers, Ohio University, Athens, Ohio
X-Newsreader: Gnus v5.2.25/XEmacs 19.14
References: <d7enfp3s0s.fsf@thoth.cs.ohiou.edu>
	<5bfum0$6m5@innocence.interface-business.de>
	<5bgm25$cfr@mozo.cc.purdue.edu>
Date: Thu, 16 Jan 1997 16:06:22 GMT
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5177

willey@purdue.edu (Mark Willey) writes:
>
> J Wunsch (j@ida.interface-business.de) wrote:
> : Mark Allman <mallman@thoth.cs.ohiou.edu> wrote:
> : 
> : > # netconfig -k /netbsd.mallman8 _tcprexmtthresh 2
> : > /dev/kmem: Operation not permitted
> : > 
> : > I am running as root, so I should be able to do this.
> : 
> : Two things i could think of:
> : 
> : . netconfig is setuid non-root, or
> : 
> : . your system is running with raised securelevel, see init(8).
> : 
> : I guess it's the latter.
> 
> The man page looks like it's out of date.  I think putting the
> following in the kernel config file may do it:
> 
> options         INSECURE        # insecure; allow /dev/mem writing for X

Yes, it does.  That is how I fixed the problem.

allman


-- 
                   Mark Allman * mallman@cs.ohiou.edu
    Ohio University Computer Science - Internetworking Research Group
   "All programmers are playwrites and all computers are lousy actors"
                    http://www.cs.ohiou.edu/~mallman