CHECKSECURITY(8)
π CHECKSECURITY π
okay bestie, welcome to section 8 of the System Manager's Manual β yes, we're in the big-girl system administration pages now, and this one is literally called checksecurity. she's not fancy, she's not loud, she's just a lil bundle of system checks doing her thing. π«Ά
β¨ NAME β¨
checksecurity β run a collection of simple system checks π
πΈ SYNOPSIS πΈ
checksecurity
that's it. no flags. no args. she just goes. π
π¦ DESCRIPTION π¦
so the checksecurity command runs a small collection of simple system checks β key word small, key word simple β and the whole point of them is to catch a few common security issues before they become a whole situation. π
and like, she's on a schedule, bestie. checksecurity is run by cron on a daily basis. so every single day, no days off, she's out here doing her lil security vibe check on your machine. iconic behaviour honestly. π
π CONFIGURATION π
so the checksecurity.conf file is where all the decisions get made. she defines several configuration variables:
MAILTOCHECK_DISKFREECHECK_PASSWDCHECK_SETUIDLOGDIR
each one is described down below, don't worry, we're getting there. π
also β and this is the part people always sleep on β the checksecurity program works with a whole collection of plugins. those plugins live in /usr/share/checksecurity, and each one is configured individually by its own configuration file. so she's not a monolith, she's a whole friend group. π§β¨
CHECK_PASSWD β if this is set to TRUE then the check-passwd script will be invoked. and what does that script do? she's designed to report upon system accounts which have no passwords. no password. on a system account. absolutely not. π
CHECK_DISKFREE β if this is set to TRUE then the check-diskfree script will be invoked, and she will allow an alert to be sent if there is any mounted partition that is running short on disk space. she will let you know. she is a noticer. π₯
CHECK_SETUID β if this is set to TRUE then the check-setuid script will be invoked. this one will compare the setuid binaries upon the system to those that existed previously and show the differences. it's giving spot-the-difference but make it security-critical. π
ngl bestie, the original page dropsMAILTOandLOGDIRinto the variable list without a paragraph of their own down here β so we're keeping it exactly that way. no cap, no invented lore. π
π FILES π
/etc/checksecurity.confβ the checksecurity configuration file. this is where the vibes get configured, periodt.
π SEE-ALSO π
see also check-diskfree(8), check-setuid(8), check-passwd(8) and check-iptables-logs(8) β the whole squad, go read them too, they're all part of the same little security check friend group. πΈ
and that's the page, bestie!! Debian Linux, 2 February 1997 β yeah she's been around since the 90s and she's still showing up to work every day. main character energy fr fr. go set your CHECK_ variables and stay safe out there. πβ¨ππ¦π
π¦ where this page comes from
- debian bookworm: checksecurity 2.0.16+nmu3
- debian trixie: checksecurity 2.0.18 Β· GPL-2.0-or-later
- ubuntu jammy: checksecurity 2.0.16+nmu3ubuntu1
- ubuntu noble: checksecurity 2.0.16+nmu4ubuntu1
- ubuntu questing: checksecurity 2.0.18
- ubuntu resolute: checksecurity 2.0.18build1 Β· GPL-2.0-or-later
- ubuntu stonking: checksecurity 2.0.18build1 Β· 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