[sane-devel] Saned and root privileges ????

ToddAndMargo ToddAndMargo at zoho.com
Sat Mar 10 04:59:53 UTC 2018


On 03/09/2018 12:53 PM, ToddAndMargo wrote:
> Hi All,
> 
> Okay, now this is "scary".
> 
> Both xsane and Simple Scan work locally.
> 
> I can not get saned to work, UNLESS, I edit /etc/group
> and add the following to root
> 
> root:x:0:saned
> 
> Without it, I get
> 
> $ xsane net:localhost:epkowa:interpreter:001:007
> Access to resource has been denied
> 
> Now what am I doing wrong?  Must saned have root privileges?
> 
> Many thanks,
> -T

I just caught this:

$ ps -eo pid,user,group,args --sort user | grep cups
  5005 root     root     /usr/sbin/cupsd -l

CUPS "is" running as root.  So is it okay to add
saned to root's group?






More information about the sane-devel mailing list