Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to change HidePII and PresentControllerPolicy settings via CLI #598

Open
solidc0re opened this issue Aug 30, 2023 · 1 comment

Comments

@solidc0re
Copy link

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 _/_

@radosroka
Copy link
Member

You can only run set-parameter when the daemon is up and not all options have support for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants