usbguard (1) - Linux Manuals
usbguard: USBGuard command-line interface
NAME
usbguard -- USBGuard command-line interface
SYNOPSIS
usbguard
usbguard list-devices
usbguard allow-device
usbguard block-device
usbguard reject-device
usbguard list-rules
usbguard append-rule
usbguard remove-rule
usbguard generate-policy
usbguard watch
usbguard read-descriptor <file>
The usbguard command provides a command-line interface (CLI)
to the usbguard-daemon(8) instance and provides a tool for
generating initial USBGuard policies.
list-devices
List all USB devices recognized by the USBGuard daemon.
Available options:
~ ~ ~ ~
allow-device [OPTIONS] <id>
Authorize a device identified by the device id to interact with
the system.
Available options:
~ ~ ~ ~
block-device [OPTIONS] <id>
Deauthorize a device identified by the device id.
Available options:
~ ~ ~ ~
reject-device [OPTIONS] <id>
Deauthorize and remove a device identified by the device id.
Available options:
~ ~ ~ ~
list-rules [OPTIONS]
List the rule set (policy) used by the USBGuard daemon.
Available options:
~ ~ ~ ~
append-rule [OPTIONS] <rule>
Append the rule to the current rule set.
Available options:
~ ~ ~ ~
remove-rule [OPTIONS] <id>
Remove a rule identified by the rule id from the rule set.
Available options:
~ ~ ~ ~
generate-policy [OPTIONS]
Generate a rule set (policy) which authorizes the currently connected
USB devices.
Available options:
~ ~ ~ ~
watch [OPTIONS]
Watch the IPC interface events and print them to stdout.
Available options:
~ ~ ~ ~
read-descriptor [OPTIONS] <file>
Read a USB descriptor from a file and print it in human-readable form.
Available options:
Creating an initial policy
If you find a bug in this software or if you'd like to request a
feature to be implemented, please file a ticket at
<https://github.com/dkopecek/usbguard/issues/new>.
Copyright © 2015 Red Hat, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
usbguard-rules.conf(5), usbguard-daemon(8),
usbguard-daemon.conf(5)
DESCRIPTION
SUBCOMMANDS
EXAMPLES
BUGS
COPYRIGHT
AUTHORS
Daniel Kopeček <dkopecek [at] redhat.com>.
SEE ALSO