From owner-freebsd-questions@FreeBSD.ORG Sat Jul 26 14:49:05 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 F0CF037B401 for ; Sat, 26 Jul 2003 14:49:05 -0700 (PDT) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 828C743FA3 for ; Sat, 26 Jul 2003 14:49:04 -0700 (PDT) (envelope-from admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.9/8.12.9) id h6QLn2NO081903 for freebsd-questions@freebsd.org; Sat, 26 Jul 2003 23:49:02 +0200 (CEST) (envelope-from admin@asarian-host.net) From: Mark Message-Id: <200307262149.H6QLN203081893@asarian-host.net> Date: Sat, 26 Jul 2003 21:49:02 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: r7TNFLNK88yvfKK/JDX12BKAUhwybSPSuPPbhWI122e9htWvrmcatODDO26yN3M7vqwHsFF8c6UBnUeyzGfnDQ== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAPyL3TjFqW1BleBN9AQH1Qwf/ff5HVjIQdB1KMhi3ZU0ncROjM6vfg1fT YuQ8kcv8gjJ6aZxk4hNG8ZhKX4/NH3RP+81c9BAwK/Utz883mH/nHwojfaKroN1Z fXEy4dnHafxDN4DouNybZQcyeGYZIg75Jqn+mQHuJ42K1Vy75DFngyz+h2uT5e4R YnoAtGcly2xNdUEzYm5E6Ix/BJySeT5KDSgGrjiOePglfxzi1y7uu+Rk9xEvfUKI Ojbq4lQxCmEXMdofRNQQ7Bl7nxnLQs51YgxhkjQUzrKg+JPNNPFJCF2hRs/gLj7y iPOPlI0Wih9HqSVbSfcQadjeLvTaoOXUHmt6EtjVeXNfx/ZPpX5CpQ== =2/cE Subject: 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 21:49:06 -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? Thanks, - Mark