Form to block usb ports and unlock them with key

1

I wanted to know if there is a way to put an authentication to the usb ports, so if I am going to enter a usb in such port, I have to put a password to recognize it, something like a login (already be console or interface), I have seen several ways to block ports, either not loading the module, or removing the drive, but for this case, someone has done something similar?

    
asked by Kevin AB 10.09.2016 в 13:02
source

1 answer

1

I guess you could condition the recognition of devices with udev rules that do what you want but sounds extremely hacky What is the use case? If they are devices that are exposed as a block file (they reside in / dev), changing the group with udev rules seems more logical than forcing them to use a password to unlock the entries

link this is a similar thread in English

link this from Arch's Spanish wiki on udev

    
answered by 10.09.2016 в 14:14