INNCHECK(8)

🌸 NAME 🌸

okay bestie, meet inncheck β€” section 8, the check-INN-configuration-and-database-files girlie from the InterNetNews documentation. She’s literally here to check your INN config and database files, and she’s obsessed with catching the little things before they become a whole situation. πŸ’…

✨ SYNOPSIS ✨

inncheck [-afqv] [--noperm | --perm] [--pedantic] [file | file=path ...]

πŸ’– DESCRIPTION πŸ’–

inncheck examines various configuration files and databases and verifies things about them. What exactly gets verified depends on the file being checked, but generally it’s things like permissions, ownership, syntax errors in config files, etc. It’s giving β€œvibe check but for your INN setup,” no cap. πŸ”₯

inncheck does not make changes to any files β€” it just reports what it thinks may be wrong, and it is up to the operator to fix the problem. She’s not the main character who edits your config; she’s the bestie who tells you your fly is down. 😭

The set of files checked may be restricted by using file or file=path arguments. For example, putting incoming.conf causes only the incoming.conf file to be checked. Using incoming.conf=/tmp/incoming.conf on the command line will cause inncheck to only verify the incoming.conf file, and it will perform the checks on the /tmp/incoming.conf file instead of the default one. Setting a file path to an empty value like incoming.conf= will skip the check for that file (this only makes sense with -a, or no files will be checked at all). iykyk πŸŽ€

Valid values for file are:

active
control.ctl
control.ctl.local
expire.ctl
incoming.conf
inn.conf
innfeed.conf
moderators
newsfeeds
nntpsend.ctl
passwd.nntp
readers.conf
storage.conf

πŸ’… OPTIONS πŸ’…

  • -a, --all β€” If any file value or file=path pairs (see below) are given, then normally only the files they refer to are checked. Use the -a (or --all) flag to specify that all files should be checked regardless. In this case the form file=path will be the more useful. slay ✨
  • -f, --fix β€” Use the -f flag (or --fix) to have inncheck print the appropriate chown/chgrp/chmod command necessary to fix a problem that it reports. Any other output lines will be prefixed with a hash sign (#) to make the output be valid input for a shell. Note that the --perm flag must be used as well when using this flag. it’s giving β€œfix it, bestie” energy 🫢
  • --noperm β€” To avoid doing any checking of file permissions or ownership, use the --noperm option. peace out, permission checks πŸ¦‹
  • --pedantic β€” Use the --pedantic option to get reports on things that are not necessarily wrong, but may indicate a bad configuration, such as inn.conf missing a key. she’s thorough, okay?! πŸ’œ
  • --perm β€” inncheck checks all files for permission problems. If the --perm flag is used, then only the files specified by the file or file=path command line arguments will be checked for problems other than permission problems. permissions for everyone, other checks for the named girlies πŸ’™
  • -q, --quiet β€” Use the -q option (or --quiet) to get less output. shhhh, she’s being demure πŸ™ˆ
  • -v, --verbose β€” Use the -v option (or --verbose) to get more verbose output. she’s telling you EVERYTHING 😭πŸ”₯

πŸŽ€ EXAMPLES πŸŽ€

To have inncheck check all files for syntax and permission problems simply run:

inncheck

It is recommended to run the following command to be aware of all the potential problems inncheck can detect:

inncheck -a --perm --pedantic

To have inncheck check all files for permission problems and to verify the syntax of the active and incoming.conf files, do:

inncheck --perm active incoming.conf

To fix the permissions problems noted in the output of the above command, modify it as follows:

inncheck -f --perm | sh

(Note that it is useless to mention the name of the two files since permission problems are checked on all files.) periodt πŸ’…

To have inncheck check the test newsfeeds file in /var/tmp/newsfeeds.testing, do:

inncheck newsfeeds=/var/tmp/newsfeeds.testing

To have inncheck check all the files as it normally does, but to specify a different location for the newsfeeds file and omit checking of the innfeed.conf file, do:

inncheck -a newsfeeds=/var/tmp/newsfeeds.testing innfeed.conf=

πŸ’€ BUGS πŸ’€

If the -f and --perm options are used together, along with -a or some file or file=path arguments that refer to a file with a syntax problem, then the output will no longer be valid input for a shell. not the shell-valid slay we wanted πŸ’€

In most cases, inncheck currently does not correctly understand option values spanning multiple lines. If you get error messages about runaway quotes, you either have to ignore them and check the correctness of the relevant lines yourself, or merge the value into a single line. runaway quotes are lowkey the villain of this story 😭

πŸ¦‹ HISTORY πŸ¦‹

Written by Brendan Kehoe <brendan@cygnus.com> and Rich Salz <rsalz@uunet.uu.net> for InterNetNews. Converted to POD by Julien Elie. iconic collaborative energy πŸ‘‘

🌈 SEE ALSO 🌈


big kiss, bestie πŸ’‹ β€” this page is INNCHECK(8) from INN 2.7.4, dated 2022-07-10, and she ate. βœ¨πŸ‘‘

πŸ“¦ where this page comes from
  • arch rolling: inn 2.7.4-4 Β· ISC
  • epel 10: inn 2.7.4-5.el10_3 Β· ISC AND BSD-3-Clause AND BSD-4-Clause AND FSFAP AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LicenseRef-Fedora-Public-Domain AND MIT AND NTP
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms