kopia lustrzana https://gitlab.com/sane-project/website
144 wiersze
4.9 KiB
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=<3A688EB5.DF19318F@xs4all.nl>"><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>>
|
|
</EM><BR>
|
|
<EM>> Jochen,
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> the only way you can get it to work is by making the programs that
|
|
</EM><BR>
|
|
<EM>> access the pio device (the frontends) SUID root:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> chown root xscanimage xsane scanimage
|
|
</EM><BR>
|
|
<EM>> chmod 4755 xscanimage xsane scanimage
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> ... of course you have to provide the correct paths for the
|
|
</EM><BR>
|
|
<EM>> three programs.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Karl Heinz
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> On Thu, Jan 18, 2001 at 06:22:59PM -0500, Jochen Weiss wrote:
|
|
</EM><BR>
|
|
<EM>> > I got an old Epson ES300C parallel port scanner from a friend of mine and I
|
|
</EM><BR>
|
|
<EM>> > got
|
|
</EM><BR>
|
|
<EM>> > it to run under Mandrake 7.2 as root (which is not recommended and did
|
|
</EM><BR>
|
|
<EM>> > indeed do
|
|
</EM><BR>
|
|
<EM>> > same bad things to the program while running). So my question is:
|
|
</EM><BR>
|
|
<EM>> > How can i change the permissions on the pio 0x378 so that I can run it as
|
|
</EM><BR>
|
|
<EM>> > regular
|
|
</EM><BR>
|
|
<EM>> > user. This is easy to solve for a SCSI port since its a device, but the pio
|
|
</EM><BR>
|
|
<EM>> > doesn't use a device...
|
|
</EM><BR>
|
|
<EM>> > Any help would be greatly appreciated....
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > Jochen Weiss
|
|
</EM><BR>
|
|
<EM>> >
|
|
</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=<3A688EB5.DF19318F@xs4all.nl>">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>
|