Disable USB storage devices in Linux21 December 2009 at 1:04 PM | Posted in GNU/Linux cli | 1 Comment
Tags: kernel drivers, security, USB
For security reasons, mainly in school are completely disabling USB storage devices on the computers at lab. It is important because students can bring a virus or also can leave with any private information. There is an easy way to do it in linux blacklisting the kernel driver:
- Open /etc/modprobe.d/blacklist.conf file.
- Type that line at end of file blacklist usb-storage.
Now nobody can use a USB memory stick in that computer. To enable it again comment or delete that line.