home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume6
/
crc-check
/
README
< prev
Wrap
Text File
|
1989-03-07
|
1KB
|
36 lines
This is a set of programs to check for unexpected file system
corruption or security breaches. It's nice to be able to say that you
know all your files are as they should be. Mark Mendel wrote most of
crc.c and I wrote crc_check.c. It's written for Sys V, but BSD
shouldn't be hard.
To use it:
1) you first create a crc list with the script find_crc. You can
modify it and add grep -v to the pipe to change the file systems that
it checks. The end result is a file "crc.tmp".
2) You can now use crc_check to compare this crc.tmp file to a crc list
created earlier called crc.files. If everything is ok, you can mv
crc.tmp to crc.files. It is expected that you will want to use grep -v
on the output of crc_check to cut down on the noise.
Note that you can use a -i option when running crc to change the
initial crc value. If you don't tell anyone what this is, you can
make it nearly impossible for anyone to modify a file and then adjust
the crc value to the old one. To really do it right, you need to
1) Run find_crc in single user mode (unless you modify the crc source).
2) Store all crc results offline.
3) Don't let anyone see your -i value or the crc results.
Please send me any modifications you make.
Jon Zeeff
zeeff@b-tech.ann-arbor.mi.us