[sane-devel] Non root users
G. L. `Griz' Inabnit
Fri, 10 Aug 2001 12:52:01 -0700
On Friday 10 August 2001 08:25, Jochen Eisinger wrote:
> > /etc/inetd.conf line;
> > sane stream tcp nowait saned.saned /usr/sbin/saned
> > saned
> you have to run saned as root (although not recommende in the man-page).
> just replace saned.saned by root.root.
> > 2. How can I reconfigure the machine so that regular users have access to
> > the scanner, software, use w/o su'ing to root?
> run saned as root, use passwords to protect the service (see man saned,
> man sane-net & man scanimage)
> > 3. Are there any log files for sane/xsane? I do not find anything in /var
> > or anywhere else to speak of.
> if you run saned from the command line with option -d128 you'll get debug
And magic occured!
Richard, this is for you.
Edit the /etc/inetd.conf and make the required changes.
Edit the /etc/sane.d/net.conf and uncomment localhost
As root, killall -HUP inetd
As a user, run xsane
BE AWARE THIS IS "NOT" SETUP WITH SECURITY IN MIND!! but it works,
OutCast Computer Consultants of Central Oregon
Toll Free (866) 562-7160
Via IRC at; 18.104.22.168:6667:#OutCasts
Via ICQ: UIN 138930
"Failure is not an option...it's bundled with Microsoft"
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
"Software is like sex. They're both better when they're free!!" - Linus
"As a computing professional, I believe it would be unethical for me to
advise, recommend, or support the use (save possibly for personal
amusement) of any product that is or depends on any Microsoft product."