USBGUARD-DAEMON(8)
β¨ USBGUARD-DAEMON(8) β the manual page, but make it cute β¨
okay so bestie, you opened the manual page for usbguard-daemon (that's the man page, section 8, the big-girl system administration section π
) and honestly? you're in the right place. let's get into it.
πΈ NAME πΈ
usbguard-daemon β the USBGuard daemon. she's the main character and she knows it π
π¦ SYNOPSIS π¦
usbguard-daemon [OPTIONS]
literally that's it. options only. no positional args, no drama.
π DESCRIPTION π
so usbguard-daemon is THE main component of the USBGuard software framework, no cap. she runs as a service in the background and enforces the USB device authorization policy for all USB devices. every single one. she's watching π
the policy itself is defined by a set of rules, and those rules use a rule language that's described over in usbguard-rules.conf(5) β go read that one, it's giving very much required reading.
and here's the fun part: the policy AND the authorization state of USB devices can both be modified during runtime using the usbguard(1) tool. so you're not locked in, you can change your mind mid-vibe. we love flexibility π«Ά
β¨ OPTIONS β¨
every single one, babes. no skipping. this is the whole menu π
-dβ turns on debugging messages in the log. she's telling you everything. oversharing era π-fβ enables classical daemon behavior (fork at start, sysV compliant). old-school, but make it iconic.-sβ log to syslog.-kβ log to console. this one's the default, so if you didn't pick anything, congrats, you picked this π-Kβ disables logging to console. the opposite of-k. yes, capital-K vs lowercase-k. don't mix them up bestie, they are two different girls π-lpathβ log to a file atpath.-ppathβ write PID to a file atpath. default is/var/run/usbguard.pid.-cpathβ load configuration from a file atpath. default is/etc/usbguard/usbguard-daemon.conf.-Pβ disable permissions check on conf and policy files. (default is/etc/usbguard/usbguard-daemon.conf) β οΈ-Cβ drop capabilities to limit privileges of the process. security girlie behavior, we stan π-Wβ use a seccomp allowlist to limit available syscalls to the process. very locked-down, very demure.-hβ show the help/usage screen. the "wait what were the flags again" button π
π SECURITY CONSIDERATIONS π
okay this is the serious section and I need you to actually pay attention, bestie. no scrolling past.
the daemon provides the USBGuard public IPC interface. depending on your distribution defaults, access to this interface is limited to a certain group or a specific user only. so like, check your defaults, they might not be what you think.
please refer to the usbguard-daemon.conf(5) man page for more info on how to configure the ACL correctly. and I mean correctly correctly.
π¨ DO NOT leave the ACL unconfigured. that will expose the IPC interface to all local users. and then those local users can manipulate the authorization state of USB devices AND modify the USBGuard policy. that's not a vibe. that's a whole security incident. don't do it. periodt. π
π₯ SEE ALSO π₯
the extended universe, if you will:
π BUGS π
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/USBGuard/usbguard/issues/new
they want to hear from you fr fr. go tell them. π«Ά
π AUTHOR π
USBGuard was originally written by Daniel KopeΔek. Many people have contributed to it. group project that actually got finished, respect β¨
π RESOURCES π
Main web site: https://usbguard.github.io/
go click it. it's giving documentation hub.
π COPYING π
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.
read that last line again. no warranty. none. zero. okay love you bye π
and that's the whole page bestie, thanks for reading all the way down here, you're a real one π this was usbguard-daemon(8) from the 04/15/2026 dated version of the man page β see you in the group chat π¦β¨
π¦ where this page comes from
- fedora 43: usbguard 1.1.4-1.fc43 Β· GPL-2.0-or-later
- fedora 43: usbguard 1.1.4-1.fc43 Β· GPL-2.0-or-later
- fedora 44: usbguard 1.1.4-1.fc44 Β· GPL-2.0-or-later
- fedora 44: usbguard 1.1.4-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms