Re: SANE and AIX

becka@sunserver1.rz.uni-duesseldorf.de
Sun, 6 Jul 1997 17:08:42 +0200 (MET DST)

> Well, I managed to do a SCSI enquiry, without having to define a device
> especially for the purpose, but the program had to be run as root.

> This was because I needed permission to open the host adapter. I
> confess that I don't see any clean way around this. I guess that I will
> have to try to write some kind of stub device that will accept SCSI
> commands and return the results using the IOCTL mechanism. Sounds like
> fun.

One possibility. If you are only concerned about scanning software having to
run as root, the netsane protocol is a way around this ...
Install netsaned suid-root (though it would be better to install it as
uid scanner and make a suitable device-file with permission only to that
uid) and configure sane for netsane-access.

CU,ANdy

-- 
Andreas Beck              |  Email :  <becka@sunserver1.rz.uni-duesseldorf.de>

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com