Sane
From Blue-IT.org Wiki
Contents
Scanserver with saned under Ubuntu 10.04
Unfortunately there seems to be a bug in the inetd service under Ubuntu 10.04.
Therefore the configuration of saned scanserver had changed.
1. Install openbsd-inetd
sudo apt-get purge inetutils-inetd sudo apt-get install openbsd-inetd
2. Change the right for saned
sudo addgroup scanner sudo usermod -G scanner -a saned
3. Configure inetd
Edit /etc/inetd.conf and add the following
sane-port stream tcp nowait root /usr/sbin/saned saned
4. Configure saned
On the server edit /etc/sane.d/saned.conf according to your local network:
## Access list 192.168.0.0/24
On the client edti /etc/sane.d/net.conf and add the servers IP or hostname
## saned hosts scanserver
5. Restart the service
sudo openbsd-inetd restart
That's it.
Beside the point wether it is secure to run saned as "root", this works!