[rešeno] Namestitev USB Guard
Matthai
Član
Na Ubuntu 16.04 (Xenial) skušam namestiti USB Guard:
https://github.com/dkopecek/usbguard/blob/master/doc/usbguard-on-ubuntu-14.04.md
Rečem:
In dobim:
Namestil sem še:
Kakšna ideja kako to rešit?
https://github.com/dkopecek/usbguard/blob/master/doc/usbguard-on-ubuntu-14.04.md
Rečem:
git clone https://github.com/dkopecek/usbguardNamestim še:
cd usbguard/
./autogen.sh
sudo apt install libgcrypt11-devNato zaženem:
sudo apt install libsodium-dev
sudo apt install protobuf-compiler
sudo apt install libprotobuf-dev
./configure --prefix=/usr --sysconfdir=/etc --with-bundled-json --with-bundled-spdlog --with-bundled-sodium --with-bundled-catch --with-bundled-pegtl
In dobim:
...
checking for protoc... protoc
configure: Using bundled Catch library
configure: Using bundled PEGTL library
checking for qt5... no
checking for qt4... yes
checking for moc-qt4... moc-qt4
checking for uic-qt4... uic-qt4
checking for rcc-qt4... no
checking for rcc... rcc
checking for lrelease-qt4... lrelease-qt4
checking for dbus... no
configure: error: in `/home/matej/usbguard':
configure: error: Required D-Bus modules (dbus-1, dbus-glib-1, gio-2.0) not found!
See `config.log' for more details
Namestil sem še:
sudo apt install libdbus-1-dev libdconf-dbus-1-0...pa je isto.
Kakšna ideja kako to rešit?
Komentarji
In pa namestitev libdconf-dbus-1-0 NI POTREBNA.
Končno namestitev:
Testi so izgleda OK:
Še naredimo binarye dostopne sistemu:
OK, what now? GUI naj bi bil del tega brancha, pa ga ni videti...
Urediti moraš usbguard-daemon.conf in napisati svoja pravila za naprave
https://dkopecek.github.io/usbguard/documentation/configuration.html ter rules.conf
https://dkopecek.github.io/usbguard/documentation/rule-language.html#initial-policy
Ampak potem zaženem service in se zaletim v tole:
Določimo, da so dovoljene trenutno priključene USB naprave:
Zadeva teče:
In deluje! :-)