In this post you’ll learn how to disable usb port in linux systems using the following command.
sudo echo “blacklist usb-storage” >> /etc/modprobe.d/blacklist.conf
This adds a newline in blacklist.conf to block the usb port.
To renable the usb ports just remove the added list to the blacklist.conf file .Thats it!!!
May U like this post.