Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to disable usb mass storage on Ubuntu desktop 10.04.11.04 and 11.10.

As security policy to avoid data leakage.But in case of emergency there easy way getting usb mass storage back.

share|improve this question

2 Answers

up vote 3 down vote accepted

Blacklist the usb_storage module by adding blacklist usb_storage to /etc/modprobe.d/blacklist.conf.

To load the module manually, run sudo modprobe usb_storage.

share|improve this answer
thanks i will try out – Deepak Rajput Nov 14 '11 at 4:47

Just rename storage to storage-old:

mv /lib/modules/3.2.0-35-generic-pae/kernel/drivers/usb/storage /lib/modules/3.2.0-35-generic-pae/kernel/drivers/usb/storage-old

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.