I am following this article to deauthorized usb:
https://www.kernel.org/doc/Documentation/usb/authorization.txt
The command I used for de-authorization is
sudo sh -c 'echo 0 > /sys/bus/usb/devices/3-2\:1.0/authorized'
Now I am trying to authorize it, but not able authorize it again.
For authorization, I am using this command:
sudo sh -c 'echo 1 > /sys/bus/usb/devices/3-2\:1.0/authorized'
I am trying to hack around and trying to find out how this authorization stuff works.
Can someone explain me what am I doing wrong or is there other way to authorize it again?
usbguardand when once a usb item is disabled by it the usb item doesn't get allowed again until after a reboot even though you've modified its rules.conf and done everything you would think needs to be done. I don't know why and lost interest and never came to a conclusion; I gotta believeusbguardis just a high level interface and is basically doing the low level syntax like what you are describing here.