From owner-freebsd-questions@FreeBSD.ORG Sat Jul 26 16:20:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF42B37B401 for ; Sat, 26 Jul 2003 16:20:19 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0375B43F75 for ; Sat, 26 Jul 2003 16:20:19 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.9/8.12.9) with ESMTP id h6QNJZOg010946; Sat, 26 Jul 2003 19:19:35 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.9/8.12.9/Submit) id h6QNJZSG010945; Sat, 26 Jul 2003 19:19:35 -0400 (EDT) From: Jerry McAllister Message-Id: <200307262319.h6QNJZSG010945@clunix.cl.msu.edu> To: admin@asarian-host.net (Mark) Date: Sat, 26 Jul 2003 19:19:35 -0400 (EDT) In-Reply-To: <200307262149.H6QLN203081893@asarian-host.net> from "Mark" at Jul 26, 2003 09:49:02 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Unable to open /dev/io X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2003 23:20:20 -0000 > > Earlier, I had asked a question on how to write a byte to the parallel port. > And Daan Vreeken was kind enough to point me to a litle c-source that uses > /dev/io. > > Unfortunately, as I just found out, when I raise kern.securelevel to 2 > (FreeBSD 4.7R), I can no longer open /dev/io for writing. :( That means I > can no longer use this method; because there is no way I will allow my > production server to run at kern.securelevel lower than 2. Which means I am > back to square one. :( > > Sigh. Is there then no way to write a simple 0 or 1 to the parallel port, > without compromizing the security of the server at large? Do you really need to set the secure level to 2? What for? ////jerry > > Thanks, > > - Mark >