Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13073

Can not disable USB stick - ubuntu 10.04

From nescafe <nc@ms.com>
Newsgroups comp.lang.java.programmer
Subject Can not disable USB stick - ubuntu 10.04
Date 2012-03-20 14:12 +0100
Organization Optima Telekom Usenet server
Message-ID <jk9vph$jb$1@l01news1.ot.hr> (permalink)

Show all headers | View raw


For security reasons i have to block all USB mass storage ports.

I have try :

-------------------------------------------------------
/etc/modprobe.d/blacklist.conf - blacklist usb_storage
-------------------------------------------------------
# ls /lib/modules/$(uname -r)/kernel/drivers/usb/storage/usb-storage.ko
# mv /lib/modules/$(uname -r)/kernel/drivers/usb/storage/usb-storage.ko 
/root
-------------------------------------------------------
sudo rmmod usb_storage
sudo modprobe -r usb_storage
-------------------------------------------------------
None of this is working.

The only thing that is working is automount option. If i disable this ( 
in gconf ) it will not load USB auto start, but when you start nautilus 
you can still see "Verbatim USB storage" and you can access it.

How to block usb mass storage ?

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Can not disable USB stick - ubuntu 10.04 nescafe <nc@ms.com> - 2012-03-20 14:12 +0100
  Re: Can not disable USB stick - ubuntu 10.04 Lew <noone@lewscanon.com> - 2012-03-20 06:36 -0700
  Re: Can not disable USB stick - ubuntu 10.04 Roedy Green <see_website@mindprod.com.invalid> - 2012-03-20 11:29 -0700
    Re: Can not disable USB stick - ubuntu 10.04 nescafe <nescafe@kkja.com> - 2012-03-20 21:08 +0100
      Re: Can not disable USB stick - ubuntu 10.04 Lew <lewbloch@gmail.com> - 2012-03-20 13:49 -0700
      Re: Can not disable USB stick - ubuntu 10.04 Roedy Green <see_website@mindprod.com.invalid> - 2012-03-28 11:30 -0700
  Re: Can not disable USB stick - ubuntu 10.04 Roedy Green <see_website@mindprod.com.invalid> - 2012-03-28 12:02 -0700

csiph-web