After a minor security incident you are instructed by your lead sys-admin to verify the RPMs
installed on a running system. Which command will create a complete report that you can analyze
for changes that may be security-related?
A.
rpm -Va > report
B.
rpm-Qavy > report
C.
rpm -Vqt -nomd5 > report
D.
rpm-checkfiles > report
E.
rpm -VA.nofiles > report
Explanation:
Verifying a package compares information about the installed files in the package with information
about the files taken from the package metadata stored in the rpm database. Among other things,
verifying compares the size, MD5 sum, permissions, type, owner and group of each file. Any
discrepancies are displayed.
To verify the package:
rpm -Va or -verify -a packagename