N/APosted on - 01/25/2013
I am a Network Administrator of a Lab which has more than 8 computers of Susi Linux and Debian Linux. I want to Prevent Users from Accessing USB Storage Media like USB HDD, USB Flash Memory, USB Card Reader and USB Mobile Phone Data Cable. But At the Same time I want to Access to access my USB Storage on Every PC. Is it Possible to block USB Pen Drive in Linux PC
How to block USB Pen Drive in Linux.
Hi Strain stive,
Yes you can block USB Pen Drive in Linux PC. Just in few steps:
First of all you need to disable USB storage devices in Susi Linux and Debian Linux. Type the following command:
# echo 'install usb-storage : ' >> /etc/modprobe.conf
You can also remove USB Storage driver, enter:
# 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
I hope it will helpful. Thanks!