FCHECK(8)

πŸ“¦
version 2.7.59 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– FCHECK(8) β€” like, the IDS filesystem baseline integrity checker bestie πŸ’–

okay so this is fcheck, a section 8 manual page from the User Contributed Perl Documentation corner of the world, and she is literally the friend who notices when someone moved one single thing on your shelf. no cap.


✨ NAME ✨

fcheck β€” IDS filesystem baseline integrity checker πŸ¦‹

🌸 SYNOPSIS 🌸

fcheck [OPTIONS]

that's it. that's the whole vibe. options go in, chaos detection comes out.

πŸ‘‘ OPTIONS πŸ‘‘

The options to fcheck are defined below, bestie β€” read them all, no skipping:

  • -a β€” Automatic mode, do all directories in configuration file. she handles the whole list herself, main character energy.
  • -c β€” Create a new base line database for the given directory. this is you taking the "before" pic πŸ“Έ
  • -d β€” Directory names are to be monitored for changes also. yes queen, watch the folders too, not just the files.
  • -f filename β€” Use alternate filename as the configuration file. like, "not that config, THIS config."
  • -i β€” Ignore creation times, check permissions, adds, deletes only. chill mode. we don't care when it was born, only who can touch it and what showed up or left.
  • -h β€” Append the $HOSTNAME to the configuration filename. now your config knows which machine it lives on πŸ’…
  • -l β€” Log information to logger rather than stdout messages. bye stdout, hello syslog.
  • -r β€” Report mode, great for emailed status reports. perfect for when you want the receipts in your inbox πŸ“©
  • -s β€” Sign each file with a CRC/hash signature. digital fingerprints, obsessed.
  • -v β€” Verbose mode, not used for report generation. she will tell you everything, but not in the report, okay?
  • -x β€” eXtended unix checks, # of links, UID, GID, Major/Minor checks. the deep dive πŸ•΅οΈβ™€οΈ

πŸ’œ DESCRIPTION πŸ’œ

πŸ¦‹ Overview πŸ¦‹

The fcheck utility is an IDS (Intrusion Detection System) which can be used to monitor changes to any given filesystem. yes bestie, an actual intrusion detection system. she's the group chat member who screenshots everything so nobody can lie later.

Essentially, fcheck has the ability to monitor directories, files or complete filesystems for any additions, deletions, and modifications. additions? deletions? modifications? she sees all three. it is configurable to exclude active log files β€” because log files are always doing the most and we're not going to fight them β€” and can be ran as often as needed from the command line or cron making it extremely difficult to circumvent. like, you literally cannot sneak past her. periodt.

🌈 Operation and Getting Started 🌈

Flag passing is a fairly simple process. no stress. Primarily you will be using two commands. One builds (or rebuilds) your baseline database files (system snapshots). The second runs in a scanning comparison mode.

"fcheck -ac"

Builds the baseline database. πŸ“Έ

"fcheck -a"

Comparison scans the system against the baseline database.

For normal operation: Initially you will run fcheck by issuing the command "fcheck -ac" to create the initial baseline file used for comparison. Any runs after the creation of the basline will normally be with the following flags "fcheck "-a"" to scan for any system modifications.

After a scan is completed, you will probably want to have fcheck re-create its baseline database for the next comparison cycle. Otherwise you will be seeing every system modification since the last baseline re-build β€” and bestie, that's a lot of old news to scroll through. In other words, run the "fcheck -ac" command again.

(Advanced Note:) A more intensive system check would be accomplished by building your database to include GID/UID checks, directories, and CRC checks by using the following sample syntax:

"fcheck -cadsxlf /etc/fcheck/fcheck.cfg"

And provide periodic integrity scans from cron by using the following sample syntax:

"fcheck -adsxlf /etc/fcheck/fcheck.cfg"
ok quick glow-up note: that -x is doing a LOT of heavy lifting in these examples, so make sure your config actually vibes with extended checks before you go full send πŸ”₯

🫢 AUTHOR 🫢

Author: Copyright (C) 1996 Michael A. Gumienny <gumienny@hotmail.com> πŸŽ€

Debianized by: Graham Simpson <gsi@eggconnect.net> ✨

πŸŽ€ SEE ALSO πŸŽ€

Please also refer to the excellent README and INSTALL instructions provided with the package /usr/share/doc/fcheck. fr fr, go read them, they're giving very helpful.


and that's the page, bestie πŸ’– this one's perl v5.40.1, dated 2026-01-20, filed under FCHECK(8) β€” go forth and baseline your whole life, you iconic little sysadmin πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from