sane-project-website/old-archive/1998-10/0111.html

150 wiersze
7.5 KiB
HTML
Czysty Wina Historia

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Thu Oct 8 07:52:36 1998 PDT" -->
<!-- sent="Thu, 8 Oct 1998 11:03:46 -0400 (EDT)" -->
<!-- name="Terry Mackintosh" -->
<!-- email="terry@terrym.com" -->
<!-- subject="Re: saned - Problem found" -->
<!-- id="" -->
<!-- inreplyto="Pine.LNX.3.95.981008103407.15424A-100000@terry1.acun.com" -->
<title>sane-devel: Re: saned - Problem found</title>
<h1>Re: saned - Problem found</h1>
<b>Terry Mackintosh</b> (<a href="mailto:terry@terrym.com"><i>terry@terrym.com</i></a>)<br>
<i>Thu, 8 Oct 1998 11:03:46 -0400 (EDT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#111">[ date ]</a><a href="index.html#111">[ thread ]</a><a href="subject.html#111">[ subject ]</a><a href="author.html#111">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0112.html">Anthony Mallet: "Strage behavior (MFS-1200SP &amp; sane 0.73)"</a>
<li> <b>Previous message:</b> <a href="0110.html">becka@rz.uni-duesseldorf.de: "Re: saned - Problem found"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
OK, found it, forgot to check /dev/sga, it was totally lacking any<br>
permissions for both group and others, so only root could access it:(<br>
<p>
Added both read and write for every one, changed the line in inet.conf<br>
back to nobody.nobody, and all works well.<br>
<p>
So, prehaps there should be a note in the man page for saned that on a Red<br>
Hat 4.2 box, the permissions on the scsi divice will need to be changed.<br>
<p>
Note, the only scsi device I have at this point is the scanner, if one<br>
also has disks, then I do not know what security ramifications this might<br>
have.<br>
<p>
Thanks again for the great software, and have a great day.<br>
Terry<br>
<p>
On Thu, 8 Oct 1998, Terry Mackintosh wrote:<br>
<p>
<i>&gt; Hi all</i><br>
<i>&gt; </i><br>
<i>&gt; It is a permission problem.</i><br>
<i>&gt; Where I had user.group of nobody.nobody, I just did 'root.root' and it all</i><br>
<i>&gt; started working just fine!</i><br>
<i>&gt; </i><br>
<i>&gt; Yes I know that using root is a bad idea, but it is great for trouble</i><br>
<i>&gt; shooting.</i><br>
<i>&gt; </i><br>
<i>&gt; Now I looked at permission in /usr/local/sbin /usr/local/bin</i><br>
<i>&gt; /usr/local/lib/ /usr/local/lib/sane /usr/local/etc/sane.d</i><br>
<i>&gt; and all permessions look ok to me.</i><br>
<i>&gt; </i><br>
<i>&gt; Did I miss some place? Is there some file that needs unusual permissions?</i><br>
<i>&gt; What is the best way to trouble shoot a permission problem?</i><br>
<i>&gt; </i><br>
<i>&gt; Thanks</i><br>
<i>&gt; Terry</i><br>
<i>&gt; </i><br>
<i>&gt; On Thu, 8 Oct 1998, Terry Mackintosh wrote:</i><br>
<i>&gt; </i><br>
<i>&gt; &gt; Hi</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Using sane 0.73, it seemed to be the latest on sunsite at the time I got</i><br>
<i>&gt; &gt; it.</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; On Thu, 8 Oct 1998, Hugo van der Kooij wrote:</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; &gt; On Wed, 7 Oct 1998, Terry Mackintosh wrote:</i><br>
<i>&gt; &gt; &gt; &gt; After putting the entries in /etc/inetd.conf</i><br>
<i>&gt; &gt; #sane stream tcp nowait nobody /usr/local/sbin/saned sane</i><br>
<i>&gt; &gt; sane stream tcp nowait nobody.nobody /usr/local/sbin/saned sane</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Ok, I took the 'd' off the very end, and tried both lines. This is what</i><br>
<i>&gt; &gt; you meant earlyer when you said it should just be 'sane'?</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; &gt; &gt; and /etc/services,</i><br>
<i>&gt; &gt; &gt; &gt; sane 6566/tcp # SANE network scanner daemon</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; same</i><br>
<i>&gt; &gt; &gt; </i><br>
<i>&gt; &gt; &gt; As soon as a session comes to port 6566 then saned will be started</i><br>
<i>&gt; &gt; &gt; automagiaclly. Just like ftpd and telnetd</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; OK, so now saned is set up on 'home' box, and when I do:</i><br>
<i>&gt; &gt; scanimage -L</i><br>
<i>&gt; &gt; on 'laptop' ... on laptop I get nothing, just a new prompt, on home, in</i><br>
<i>&gt; &gt; the messages log I get:</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Oct 8 09:39:08 home saned[331]: access by root@laptop accepted</i><br>
<i>&gt; &gt; Oct 8 09:39:08 home saned[331]: exiting</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; So, saned is running, the laptop does talk to it on home, but it does not</i><br>
<i>&gt; &gt; see any scanner devices, why?</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Recall that if I comment out the lines in inetd.conf and services, and run</i><br>
<i>&gt; &gt; saned from the command line with '-d', then the laptop does see the</i><br>
<i>&gt; &gt; scanner, and can even use it.</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Also note that every thing works great (not via net) on the home box.</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Thanks, and thanks very much for sane.</i><br>
<i>&gt; &gt; Terry Mackintosh &lt;<a href="mailto:terry@terrym.com">terry@terrym.com</a>&gt; <a href="http://www.terrym.com">http://www.terrym.com</a></i><br>
<i>&gt; &gt; sysadmin/owner Please! No MIME encoded or HTML mail, unless needed.</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Proudly powered by R H Linux 4.2, Apache 1.3, PHP 3, PostgreSQL 6.3</i><br>
<i>&gt; &gt; -------------------------------------------------------------------</i><br>
<i>&gt; &gt; Success Is A Choice ... book by Rick Patino, get it, read it!</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; --</i><br>
<i>&gt; &gt; Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
<i>&gt; &gt; To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
<i>&gt; &gt; </i><br>
<i>&gt; </i><br>
<i>&gt; Terry Mackintosh &lt;<a href="mailto:terry@terrym.com">terry@terrym.com</a>&gt; <a href="http://www.terrym.com">http://www.terrym.com</a></i><br>
<i>&gt; sysadmin/owner Please! No MIME encoded or HTML mail, unless needed.</i><br>
<i>&gt; </i><br>
<i>&gt; Proudly powered by R H Linux 4.2, Apache 1.3, PHP 3, PostgreSQL 6.3</i><br>
<i>&gt; -------------------------------------------------------------------</i><br>
<i>&gt; Success Is A Choice ... book by Rick Patino, get it, read it!</i><br>
<i>&gt; </i><br>
<i>&gt; </i><br>
<i>&gt; --</i><br>
<i>&gt; Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
<i>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
<i>&gt; </i><br>
<p>
Terry Mackintosh &lt;<a href="mailto:terry@terrym.com">terry@terrym.com</a>&gt; <a href="http://www.terrym.com">http://www.terrym.com</a><br>
sysadmin/owner Please! No MIME encoded or HTML mail, unless needed.<br>
<p>
Proudly powered by R H Linux 4.2, Apache 1.3, PHP 3, PostgreSQL 6.3<br>
-------------------------------------------------------------------<br>
Success Is A Choice ... book by Rick Patino, get it, read it!<br>
<p>
<p>
<pre>
--
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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0112.html">Anthony Mallet: "Strage behavior (MFS-1200SP &amp; sane 0.73)"</a>
<li> <b>Previous message:</b> <a href="0110.html">becka@rz.uni-duesseldorf.de: "Re: saned - Problem found"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>