LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   disable USB storage Ubuntu 8.10 (https://www.linuxquestions.org/questions/linux-hardware-18/disable-usb-storage-ubuntu-8-10-a-792317/)

Ipolit 03-01-2010 06:19 AM

disable USB storage Ubuntu 8.10
 
Hello,
I want to disable usb storage module on Ubuntu 8.10.
I also have Ubuntu 9.10 and when I put

blacklist usb_storage

in /etc/modprobe.d/blacklist.conf everything is fine.
When I do the same in 8.10 nothing happens. The difference is that there is
/etc/modprobe.d/blacklist

Please advice

Simon Bridge 03-01-2010 06:35 AM

I suppose upgrading the 8.10 box is out of the question?

GIYF:
http://www.cyberciti.biz/faq/linux-d...torage-driver/
1. physically remove the kernel module
2. put "nousb" in the grub kernel line
3. switch the usb system off in BIOS

... unless you want root to load the module with insmod.

I suppose you could also fiddle the rules so that only root gets read access to any usb devices loaded.

blacklist usb_storage
in /etc/modprobe.d/blacklist is what will disable the usb_storage driver in Ubuntu 8.10. I'm guessing a different driver is being used back then.

Ipolit 03-01-2010 07:24 AM

Thank you very much.
Just renamed usb-storage.ko to usb-storage.ko1
Actually no one of the users can mount the usbs, hal automount is disabled, but I wanted to make sure the usb-storage is completely disabled.

Thank you again,
by the way nousb in the grub didn't work, I tried it before post


All times are GMT -5. The time now is 11:52 AM.