Am 10.12.2015 um 11:11 schrieb Michael H <michael@xxxxxxxxxx>: > > > On 10/12/15 10:02, Leon Fauster wrote: >> Am 10.12.2015 um 09:37 schrieb Michael H <michael@xxxxxxxxxx>: >>> >>> I'm trying to disable USB storage devices in Centos7.1.1503. >> >> on EL6 we use: >> >> # cat /etc/modprobe.d/usb-disabled.conf >> install usb-storage /bin/true >> >> # depmod -a > I've achieved disabling USB devices and then allowing specific vendors / > products using UDEV rules. > > How can I disable PTP automounting without removing the libgphoto2 package? > > We are allowing a specific set of usb devices to be used in the company, > one of the things we want to block is any kind of file transfer between > mobile devices and our systems. Unfortunately it's not just a complete > block on devices. A legitimately approach but from a security point of view its not the best one. No authentication, no authorization mechanism and USB IDs can be forgeable. -- LF _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos