在胜利,我们可以使用组策略,但是我的公司使用centos6.5 destop作为os。 我的老板想避免信息泄漏。 那么,有没有办法在centos中禁止usbdisk?
/etc/modprobe.d/blacklist.conf下行添加到/etc/modprobe.d/blacklist.conf :
/etc/modprobe.d/blacklist.conf
blacklist usb-storage
并重新启动系统(或者,如果模块已经使用modprobe -r usb_storage加载,则卸载该模块)。
modprobe -r usb_storage