sane-project-website/old-archive/2001-01/0207.html

144 wiersze
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: How to Run Parallel Port Scanner as Non-Root????</TITLE>
<META NAME="Author" CONTENT="Laurent-jan (ljm@xs4all.nl)">
<META NAME="Subject" CONTENT="Re: How to Run Parallel Port Scanner as Non-Root????">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: How to Run Parallel Port Scanner as Non-Root????</H1>
<!-- received="Fri Jan 19 16:52:09 2001" -->
<!-- isoreceived="20010120005209" -->
<!-- sent="Fri, 19 Jan 2001 19:00:05 +0000" -->
<!-- isosent="20010119190005" -->
<!-- name="Laurent-jan" -->
<!-- email="ljm@xs4all.nl" -->
<!-- subject="Re: How to Run Parallel Port Scanner as Non-Root????" -->
<!-- id="3A688EB5.DF19318F@xs4all.nl" -->
<!-- inreplyto="20010118183342.C19001@khk.net" -->
<STRONG>From:</STRONG> Laurent-jan (<A HREF="mailto:ljm@xs4all.nl?Subject=Re:%20How%20to%20Run%20Parallel%20Port%20Scanner%20as%20Non-Root????&In-Reply-To=&lt;3A688EB5.DF19318F@xs4all.nl&gt;"><EM>ljm@xs4all.nl</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Jan 19 2001 - 11:00:05 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0208.html">Rick Frank: "Can Anyone help this guy out?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0206.html">Henning Meier-Geinitz: "Re: Backend for BearPaw 2400"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0195.html">Karl Heinz Kremer: "Re: How to Run Parallel Port Scanner as Non-Root????"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#207">[ date ]</A>
<A HREF="index.html#207">[ thread ]</A>
<A HREF="subject.html#207">[ subject ]</A>
<A HREF="author.html#207">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Just to be curious: the main problem seems to me, that the user
<BR>
who does the scanning needs to be root. What if you'd use saned as
<BR>
an intermediate? Your enduser sees a networked scanner on loopback
<BR>
an does not need root permissions.
<BR>
<P>Or am I missing something?
<BR>
<P>ljm
<BR>
<P><P>Karl Heinz Kremer wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Jochen,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; the only way you can get it to work is by making the programs that
</EM><BR>
<EM>&gt; access the pio device (the frontends) SUID root:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; chown root xscanimage xsane scanimage
</EM><BR>
<EM>&gt; chmod 4755 xscanimage xsane scanimage
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; ... of course you have to provide the correct paths for the
</EM><BR>
<EM>&gt; three programs.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Karl Heinz
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; On Thu, Jan 18, 2001 at 06:22:59PM -0500, Jochen Weiss wrote:
</EM><BR>
<EM>&gt; &gt; I got an old Epson ES300C parallel port scanner from a friend of mine and I
</EM><BR>
<EM>&gt; &gt; got
</EM><BR>
<EM>&gt; &gt; it to run under Mandrake 7.2 as root (which is not recommended and did
</EM><BR>
<EM>&gt; &gt; indeed do
</EM><BR>
<EM>&gt; &gt; same bad things to the program while running). So my question is:
</EM><BR>
<EM>&gt; &gt; How can i change the permissions on the pio 0x378 so that I can run it as
</EM><BR>
<EM>&gt; &gt; regular
</EM><BR>
<EM>&gt; &gt; user. This is easy to solve for a SCSI port since its a device, but the pio
</EM><BR>
<EM>&gt; &gt; doesn't use a device...
</EM><BR>
<EM>&gt; &gt; Any help would be greatly appreciated....
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Jochen Weiss
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<P><P><PRE>
--
(c) ljm @ xs4all . nl. No part of this copyright message may be
reproduced, read or seen, dead or alive or by any means, including
but not limited to telepathy without the benevolence of the author.
<P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20How%20to%20Run%20Parallel%20Port%20Scanner%20as%20Non-Root????&In-Reply-To=&lt;3A688EB5.DF19318F@xs4all.nl&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0208.html">Rick Frank: "Can Anyone help this guy out?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0206.html">Henning Meier-Geinitz: "Re: Backend for BearPaw 2400"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0195.html">Karl Heinz Kremer: "Re: How to Run Parallel Port Scanner as Non-Root????"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#207">[ date ]</A>
<A HREF="index.html#207">[ thread ]</A>
<A HREF="subject.html#207">[ subject ]</A>
<A HREF="author.html#207">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Fri Jan 19 2001 - 16:56:00 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>