[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cannot mount smartphone anymore



On 2021-06-13, l0f4r0@tuta.io <l0f4r0@tuta.io> wrote:
>
> Otherwise, you could just add a rule authorizing your device to connect:
>
> sudo usbguard append-rule 'allow id XXXX:XXXX serial "XXXX" name "XXXX" hash "XXXX" parent-hash "XXXX" with-interface XX:XX:XX'
>
> sudo usbguard list-devices
> will tell you the correct parameters (of course usbguard must be running and your device connected/blocked).


 You can generate a ruleset based on your currently attached USB devices
 by executing usbguard generate-policy > /etc/usbguard/rules.conf as
 root.

https://wiki.archlinux.org/title/USBGuard

I'm for taking the route of least resistance (to my hebetude).

> Best regards,
> l0f4r0


Reply to: