* Accessing SCSI scanner w/o suid or /dev/cam o+rw
@ 1999-12-10 5:00 Steffen Neumann
0 siblings, 0 replies; only message in thread
From: Steffen Neumann @ 1999-12-10 5:00 UTC (permalink / raw)
Hi!
We'd like to attach a scanner to one of our workstations.
Thing sare basically fine, the scanner can be attached and
there is sane (www.mostang.com/sane/) talking to the scanner.
The problem is that sane uses the common access method
via the device /dev/cam. A user would need rw access to it.
That's fine for testing, but in a serious environment
you don't want neither a suid/sguid on the scan binary,
nor rw access for the world on /dev/cam. (How fast can you
make your copy of /bin/sh suid root if you have full rw access
to the scsi subsystem, incl. your system disk ?!)
Is there a way to have a single generic SCSI device on the bus
read/writable for users, similar to BSD /dev/pass0 or Linux /dev/sg0 ?
Is there anything else to disallow users to do havoc with /dev/cam ?
Is there any idea I haven't thought of ?
Thanks in advance
for any ideas and/or pointers to documents,
yours,
Steffen
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-12-10 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-10 5:00 Accessing SCSI scanner w/o suid or /dev/cam o+rw Steffen Neumann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox