sane-project-website/old-archive/1997-07/0024.html

59 wiersze
2.8 KiB
HTML

<!-- received="Sun Jul 6 19:14:36 1997 MST" -->
<!-- sent="Sun, 6 Jul 1997 17:08:42 +0200 (MET DST)" -->
<!-- name="becka@sunserver1.rz.uni-duesseldorf.de" -->
<!-- email="becka@sunserver1.rz.uni-duesseldorf.de" -->
<!-- subject="Re: SANE and AIX" -->
<!-- id="m0wksva-000BW2C@charon.beck-sw.de" -->
<!-- inreplyto="19970706124808.32843@adm1jed" -->
<title>sane-devel: Re: SANE and AIX</title>
<h1>Re: SANE and AIX</h1>
<a href="mailto:becka@sunserver1.rz.uni-duesseldorf.de"><i>becka@sunserver1.rz.uni-duesseldorf.de</i></a><br>
<i>Sun, 6 Jul 1997 17:08:42 +0200 (MET DST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#24">[ date ]</a><a href="index.html#24">[ thread ]</a><a href="subject.html#24">[ subject ]</a><a href="author.html#24">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0025.html">Rogan Dawes: "SCSI programming docs"</a>
<li> <b>Previous message:</b> <a href="0023.html">David Mosberger-Tang: "Re: SANE and AIX"</a>
<li> <b>In reply to:</b> <a href="0021.html">Rogan Dawes: "SANE and AIX"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i>&gt; Well, I managed to do a SCSI enquiry, without having to define a device</i><br>
<i>&gt; especially for the purpose, but the program had to be run as root.</i><br>
<p>
<i>&gt; This was because I needed permission to open the host adapter. I</i><br>
<i>&gt; confess that I don't see any clean way around this. I guess that I will</i><br>
<i>&gt; have to try to write some kind of stub device that will accept SCSI</i><br>
<i>&gt; commands and return the results using the IOCTL mechanism. Sounds like</i><br>
<i>&gt; fun.</i><br>
<p>
One possibility. If you are only concerned about scanning software having to<br>
run as root, the netsane protocol is a way around this ...<br>
Install netsaned suid-root (though it would be better to install it as<br>
uid scanner and make a suitable device-file with permission only to that <br>
uid) and configure sane for netsane-access.<br>
<p>
CU,ANdy<br>
<p>
<pre>
--
Andreas Beck | Email : &lt;<a href="mailto:becka@sunserver1.rz.uni-duesseldorf.de">becka@sunserver1.rz.uni-duesseldorf.de</a>&gt;
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.azstarnet.com/~axplinux/sane/">http://www.azstarnet.com/~axplinux/sane/</a>
To unsubscribe: mail -s unsubscribe <a href="mailto:sane-devel-request@listserv.azstarnet.com">sane-devel-request@listserv.azstarnet.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0025.html">Rogan Dawes: "SCSI programming docs"</a>
<li> <b>Previous message:</b> <a href="0023.html">David Mosberger-Tang: "Re: SANE and AIX"</a>
<li> <b>In reply to:</b> <a href="0021.html">Rogan Dawes: "SANE and AIX"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>