You suspect a problem with the oponldap package and want to make sure that the files have not be modified or
otherwise tampered with.
Which command would validate all of the files contained in the openldap package and report any problems?
A.
pkgchk openldap
B.
pkginfo openldap
C.
pkg contents openldap
D.
pkg verify openldap
E.
pkg set-property signature-policy verify
Explanation:
pkgchk checks the accuracy of installed files or, by using the -l option, displays information about package files.
pkgchk checks the integrity of directory structures and files. Discrepancies are written to standard error along
with a detailed explanation of the problem.
D!
root@sol113:~# pkgchk openldap
WARNING: no pathnames were associated with
root@sol113:~# pkg verify openldap
root@sol113:~#