Closed TriplEight closed 2 years ago
Hi @TriplEight,
The idea to update documentation sounds like a good idea to me. The most important thing to mention might be the initial policy generation. Feel free to open a PR for README.md
, so newcomers will see it on the landing page.
In order to make it work on debian 10/ ubuntu 20.04 I had to:
Of course, some of deps were not necessary, but it was far not a first attempt. CI config helped a bunch.
and carefully follow the warnings in case if something important was missing.
make
and carefully watch the logssudo make install
and carefully watch the logs/usr/local/etc/usbguard/
make check
should not failsudo usbguard generate-policy > /usr/local/etc/usbguard/rules.conf
thanks arch wikisudo systemctl start usbguard.service
sudo systemctl status usbguard.service
this shouldn't return errors, if it does, stop, fix and restartsudo usbguard list-rules
check if important devices are allowedsudo systemctl enable usbguard.service
when everything worksThis is maybe a bit extensive to put into a doc, but there might be something like a
QuickStart.md
for mere mortals. Please tell me what you think and I'll do a PR.