Security
A web server running a RHEL-based distribution may have had binaries from the httpd package altered after installation. The administrator wants to compare the installed files' size, digest, permissions and ownership against the package metadata in the RPM database. Which command does this?
Show the answer
Correct answerD. rpm -V httpd
rpm -V verifies installed files against the RPM database and flags changes to size, digest, mode, owner and time. rpm -K checks the digest and signature of a package file, not files already installed, so it cannot reveal tampering on disk.