1Z0-821 · Question #133
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…
The correct answer is D. pkg verify openldap. pkgchk is used in Solaris 10. Verifying Package Installation Use the pkg verify command to validate the installation of packages in the current image. /usr/bin/pkg verify [-Hqv] [pkg_fmri_pattern ...] If current signature policy for related publishers is not ignore, the…
Question
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?
Options
- Apkgchk openldap
- Bpkginfo openldap
- Cpkg contents openldap
- Dpkg verify openldap
- Epkg set-property signature-policy verify
How the community answered
(46 responses)- A9% (4)
- B7% (3)
- C2% (1)
- D83% (38)
Explanation
pkgchk is used in Solaris 10. Verifying Package Installation Use the pkg verify command to validate the installation of packages in the current image. /usr/bin/pkg verify [-Hqv] [pkg_fmri_pattern ...] If current signature policy for related publishers is not ignore, the signatures of each package are validated based on policy. See signature-policy in Properties For Signing Packages for an explanation of how signature policies are applied. Use the -H option to omit the headers from the verification output. Use the -q option to print nothing but return failure if any fatal errors are found. Use the -v option to include informational messages regarding packages. # pkg verify -v system/install/auto-install/auto-install-common pkg://solaris/system/install/auto-install/auto-install-common ERROR file: usr/share/auto_install/manifest/default.xml Missing: regular file does not exist
Topics
Community Discussion
No community discussion yet for this question.