more easy steps to get remote scanning working again

A whileback I share some easy steps to get remote scanning working in ubuntu. Since the I upgraded to Ubuntu 9.04 Jaunty and to my chagrin the remote scanning broke.

Well here is how I fixed it this time. All the steps from my earlier post are still valid, but the permissions have changed and using the scanner group no longer works.

So this time I took the lazy approach and after giving due consideration to the dire security repercussions of running as root rather then safely isolating to individual restrictive accounts, I used root.

The SANE documentation does clearly state that SANE is not ready for public internet exposure and since I’m running this on an old laptop for the sole purpose of scanning, I figured anyone who was going to exploit the potential security holes, will likely already have breached multiple other more intimidating security barriers.

Oh, well, here is the /etc/xinetd.d/sane-port file that works:

# default: off
# description: The sane server accepts requests
# for network access to a local scanner via the
# network.
service sane-port
{
 port        = 6566
 socket_type = stream
 wait        = no
 user        = root
 group       = scanner
 server      = /usr/sbin/saned
}

Notice how the user now is root.

That made it work.

\\@matthias

Leave a Reply

Your email address will not be published. Required fields are marked *