[1mSYNOPSIS[0m
[1mktcheck [22m[[1m-CinrV[22m] [ -q | -v ] [ [1m-D [4m[22mpath[24m ] [ [1m-c [4m[22mchecksum[24m ] [ [1m-K [4m[22mcommand-[0m
[4mfile[24m ] [ [1m-h [4m[22mhost[24m ] [ [1m-p [4m[22mport[24m ] [ [1m-P [4m[22mca-pem-directory[24m ] [ [1m-w [4m[22mauth-level[0m
] [ [1m-x [4m[22mca-pem-file[24m ] [ [1m-y [4m[22mcert-pem-file[24m ] [ [1m-z [4m[22mprivate-key-file[24m ] [
[1m-Z [4m[22mcompression-level[24m ]
[1mDESCRIPTION[0m
[1mktcheck [22mverifies a client's command file with the radmind server [4mhost[24m.
The command file is downloaded from [4mhost[24m if it is missing or has the
wrong size. With the -c option, checksums are also used to verify
files.
Reading the command file line-by-line, [1mktcheck [22mverifies each command
file and transcript listed, downloading it from [4mhost[24m if it is missing
or out of date. [1mktcheck [22mignors blank lines and comments ( lines start-
ing with '#' ). Included command files are read are verified using the
same method.
Each special file listed in the command file is converted into a tran-
script line in special.T with information provided by [4mhost[24m. See [1mrad-[0m
[1mmind[22m(8) for details of the STAT command.
If checksuming is turned on, the special transcript is verified using
the checksum and file size. If either are wrong, the special tran-
script is updated. If checksuming is turned off, the special tran-
script is always updated.
Files updated by [1mktcheck [22mmust be regular files and the user must have
access to modify them.
When run with the -n option, [1mktcheck [22mverifies but never downloads the
command files or transcripts. A temporary special.T is created for
verification and is removed on exit.
[1mOPTIONS[0m
[1m-C [22mclean [1m_RADMIND_DIR/client[22m.
[1m-c [4m[22mchecksum[24m enables checksuming.
[1m-D [4m[22mpath[24m specifies the radmind working directory, by default
[1m_RADMIND_PATH[22m.
[1m-i [22mforce output line buffering.
[1m-h [4m[22mhost[24m specifies the radmind server, by default [1m_RAD-[0m
[1mMIND_HOST[22m.
[1m-K [4m[22mcommand[24m specifies a command file, by default [1m_RADMIND_COM-[0m
[1mMANDFILE[22m.
[1m-n [22mno files modified.
[1m-V [22mdisplays the version of [1mktcheck[22m, a list of sup-
ported checksumming algorithms in descending order
of preference and then exits.
[1m-v [22mdisplays communication with the radmind server.
[1m-w [4m[22mauth-level[24m TLS authorization level, by default _RADMIND_AUTH-
LEVEL. 0 = no TLS, 1 = server verification, 2 =
server and client verification.
[1m-x [4m[22mca-pem-file[24m Certificate authority's public certificate, by
default _RADMIND_TLS_CA. The default is not used
when -P is specified.
[1m-y [4m[22mcert-pem-file[24m Client's public certificate, by default _RAD-
MIND_TLS_CERT.
[1m-z [4m[22mprivate-key-file[0m
Client's private key, by default _RADMIND_TLS_CERT.
[1m-Z [4m[22mcompression-level[0m
Compress all outbound data. compression-level can
be between 0 and 9: 1 gives best speed, 9 gives best
compression, 0 gives no compression at all (the
input data is simply copied a block at a time).
[1mFILES[0m
[1m_RADMIND_COMMANDFILE[0m
name of the default command file.
[1mspecial.T [22mname of the special transcript.
[1mEXIT STATUS[0m
The following exit values are returned:
0 No differences were found.
1 Differences were found.
>1 An error occurred.
[1mSEE ALSO[0m
[1mfsdiff[22m(1), [1mlapply[22m(1), [1mlcksum[22m(1), [1mlcreate[22m(1), [1mlfdiff[22m(1), [1mlmerge[22m(1),
[1mlsort[22m(1), [1mtwhich[22m(1), [1mradmind[22m(8), [1mRAND_load_file[22m(3o).
RSUG _RADMIND_BUILD_DATE ktcheck(1)
Man(1) output converted with
man2html