Answer the question
In order to leave comments, you need to log in
How to check the integrity (checksums) of files when booting Linux?
Guys, tell me, there is a task from the management at all costs to check (verify) the integrity of the system files (a certain list of files) when the system boots. Those. there is a certain list of files and their checksums (MD5 or SHA-1 or other), when downloading, the integrity of the files should be verified (matching the checksums of the file and the standard), if everything is fine, then we load, if not, the server stops.
How much Google - did not find such a solution. Can you tell me
Answer the question
In order to leave comments, you need to log in
See nexthop
's answer
Or
md5sum
performs checksum verification against this list usinghalt
the serversha1sum -c - <<EOF
a75....41e4774a file1
9bc...864375f4e file2
EOF
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question