Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Steffen Neumann <sneumann@TechFak.Uni-Bielefeld.DE>
Subject: Accessing SCSI scanner w/o suid or /dev/cam o+rw
Date: 1999/12/10	[thread overview]
Message-ID: <s5un1rjndso.fsf@liszt.TechFak.Uni-Bielefeld.DE> (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





                 reply	other threads:[~1999-12-10  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox