USBGuard is a software framework for implementing USB device authorization policies (what kind of USB devices are authorized) as well as method of use policies (how a USB device may interact with the system)
I've been a happy user of USBGuard for a while and I'm going to include it in a script I am writing to harden Fedora's immutable spins.
I'd like to automate changing the HidePII and PresentControllerPolicy before starting the service and wondered if there was a way of doing this through the command line.
I've attempted sudo usbguard set-parameter HidePII true to no avail.
I'm happy to use the sed command to update the usbguard-daemon.conf file directly, but thought I'd ask here in case there's a baked-in way of doing it within usbguard/usbguard-daemon.
Hi there,
I've been a happy user of USBGuard for a while and I'm going to include it in a script I am writing to harden Fedora's immutable spins.
I'd like to automate changing the HidePII and PresentControllerPolicy before starting the service and wondered if there was a way of doing this through the command line.
I've attempted
sudo usbguard set-parameter HidePII true
to no avail.I'm happy to use the
sed
command to update the usbguard-daemon.conf file directly, but thought I'd ask here in case there's a baked-in way of doing it within usbguard/usbguard-daemon.Many thanks in advance /\