0

How to disable usb storage in linux

I need to disable usb storage access for some linux machine,can you please guide me.

USB Add a comment
matthew
asked Feb 23 2017

Answer

0

To disable the usb storage,you need to create configuration file in /etc/modprobe.d directory.

Add the following lines to the file

install usb-storage /bin/true

Save the file and exit

After creating this configuration file, the usb storage access will be blocked completely.

Add a comment
krishnakumar
asked Feb 23 2017
edited Oct 05 2018
Post your Answer