0

I installed ubuntu 12.10 64 bit version in my system. I want to disable all the usb ports. Except usb keyboard and mouse. I tried to add a line blacklist usb_storage in the /etc/modprobe.d/blacklist.conf and run the command sudo modprobe usb_storage. Reboot the system. But still the usb port is detected. What is the problem?

Anyone can help me to find the solution?

1 Answers1

0

For every device there will be modules in our kernel which will be installed with our OS to make work them you have to just enable their modles so in ubuntu usb enabling modules will be /usr//lib/modules/3.2.0-36-generic-pae/kernel/drivers/usb/storage/usb-storage.ko as of mine is [UBUNTU 12.04] and kernel number may differ in yours go to that destination as shown above and type in terminal as sudo modprobe usb-storage.ko as superuser it may ask for password and it will enable them and to check if they are enabled or not type in terminal as lsmod |grep usb* And if it shows any usb storage then u have enabled it thats all for more info MODROBE INFO LSMOD INFO

navy
  • 1