Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #13076
| From | Lew <noone@lewscanon.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Can not disable USB stick - ubuntu 10.04 |
| Date | 2012-03-20 06:36 -0700 |
| Organization | albasani.net |
| Message-ID | <jka14k$p2h$2@news.albasani.net> (permalink) |
| References | <jk9vph$jb$1@l01news1.ot.hr> |
nescafe wrote: > 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 [sic] disable this ( in > gconf ) it will not load USB auto start, but when you start nautilus [sic] you can > still see "Verbatim USB storage" and you can access it. > > How to block usb [sic] mass storage ? I don't believe that Java has the ability to do that. This is a rather OS-specific matter. Perhaps something in the OS docs might help you? -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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