[systemd-devel] Udev rules on reboot

Mantas Mikulėnas grawity at gmail.com
Sun Dec 20 13:59:16 UTC 2020


On Sun, Dec 20, 2020 at 3:49 PM Lennart Poettering <lennart at poettering.net>
wrote:

> On Sa, 19.12.20 15:37, Adi Ml (maladi1747 at gmail.com) wrote:
>
> > I see. so if I have a rule against a certain usb in udev, it should be
> > blocked automatically during the boot.
>
> Hmm, "blocked"? What do you mean by that? I am not following...
>

I suspect they mean something like ATTR{authorized}="0", which tells the
kernel to completely ignore that USB device.

(Though it's more common to set authorized_default=0 on all hubs, then
allow only trusted devices, like USBGuard does.)

-- 
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20201220/515362ea/attachment.htm>


More information about the systemd-devel mailing list