<div dir="ltr"><div>Hi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 10, 2020 at 8:14 AM C. Cook <<a href="mailto:c.a.cook@quantum-sci.com">c.a.cook@quantum-sci.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <br>
    <p># cat /etc/systemd/system/sockets.target.wants/saned.socket<br>
      [Unit]<br>
      Description=saned incoming socket<br>
      <br>
      [Socket]<br>
      ListenStream=6566<br>
      Accept=yes<br>
      MaxConnections=1<br>
      <br>
      [Install]<br>
      WantedBy=sockets.target<br>
    </p>
    </div></blockquote><div><br></div><div>OK, here:</div><div><a href="https://help.ubuntu.com/community/SaneDaemonTutorial">https://help.ubuntu.com/community/SaneDaemonTutorial</a></div><div><br></div><div>...they suggest adding an entry for the saned-running user:</div><div>-------8<-------8<-------8<-------8<-------8<---------</div><div><pre># Defaults for the saned initscript, from sane-utils
<span class="gmail-anchor" id="gmail-line-2"></span>
<span class="gmail-anchor" id="gmail-line-3"></span># To enable under systemd please read README.Debian
<span class="gmail-anchor" id="gmail-line-4"></span># Set to yes to start saned under SysV
<span class="gmail-anchor" id="gmail-line-5"></span>RUN=no
<span class="gmail-anchor" id="gmail-line-6"></span>
<span class="gmail-anchor" id="gmail-line-7"></span># Set to the user saned should run as
<span class="gmail-anchor" id="gmail-line-8"></span>RUN_AS_USER=saned
<span class="gmail-anchor" id="gmail-line-9"></span>
<span class="gmail-anchor" id="gmail-line-10"></span>[Unit]
<span class="gmail-anchor" id="gmail-line-11"></span>Description=saned incoming socket<br>...<br>-------8<-------8<-------8<-------8<-------8<---------<br><br></pre><pre>Perhaps nominate/create a user at the server end to get scanner privileges and include that in the saned socket conf. I cannot remember what distro you are running, but on my Linux Mint here, I have a saned user which is a member of the "scanner" group. Since I have messed about with saned in the past I don't remember is that is a default configuration.<br></pre><pre>I'm at work at the moment and I only have one machine to work with so I cannot easily set up a test.<br></pre><pre>If this doesn't work for you, I will try to set something up at home this evening.<br><br></pre><pre>Cheers,<br></pre><pre>Ralph<span class="gmail-anchor" id="gmail-line-12"></span></pre> </div></div></div>