Shea Martin wrote:
> 
> A few of the devices (cd-burner, and scanner) on my box are only
> supported through modules.  I could have compiled them into the kernerl,
> but they are rarely used.  My problem is that when other users (logged
> in) want to use the scanner, I have to shove them aside, su, modprobe
> scanner/usb/scsi/cdrom/etc.  Then they can mount the cdrom, or use the
> scanner.  The automouner only goes so far.  Like for example if I have
> the ide- scsi (scsi emulation) mod inserted, then mounting the cdrom
> will automatically insert the cdrom module.  same w/ scanner mod if usb
> is already inserted.
> For example the burner...
> I have written  a .mountcdr and .umountcdr scripts which automate
> everything into one step.  Then I made alias mountcdr="sh ~/.mountcdr"
> The problem is that this script can only execute when I am root.
> 
> Anyone got any ideas on this?  Change permisions on modeprobe and rmmod
> (could be scary)?  Fiddle with module dependancy file (i forget the name
> of it)?
> 
> Thanks
> 
> Shea Martin
> ~~~~~~~~~~~

 Well,what I'll do.First,either edit the files in /etc/modutils or use
modconf
to specify which modules you want always loaded (SCSI-emulation,scanner)
at
start-up.They'll be loaded only when you need them anyway.Next change
the symlink /dev/cdrom to point to /dev/scd0 (which should be your CDRW
now using scsi-emulation). You should be fine now since by default
stormix adds the user
to group disk so you can mount the cdrom like this
  mount /cdrom .
If this doesn't work then
  adduser foo disk
Now for scanner an
 cd /dev/usb
 ls -l scanner0
will show you that the scanner belongs to root root (that'll be user
root ,group root).So you either make it owned by user user or you simply
add it to a group you create.Now simply adding it to group disk may work
but I have no experience whatsoever with scanners in Linux so don't want
to give you wrong advices.

man pages to read
adduser
chown
chmod
ls

Note.Also you should check that each user belongs to group disk.you can
do that
either by running adduser or use in kde the user manager .

Hope it helps a bit.
-- 
The best way to escape from a problem is to solve it. 
     Alan Saporta

_______________________________________________
Stormlinux-users-list mailing list
[EMAIL PROTECTED]
http://www.stormix.com/community/lists/listinfo/stormlinux-users-list

Reply via email to