[Next] [Previous] [Up] [Top] [Contents]

15.1 Packages

15.1.4 pkgchk

To check on the attributes and integrity of packages use the pkgchk command. This command verifies the contents of the package against the system log files and reports any discrepancies along with an explanation of the problem. In this example option -a requests a check on the file attributes and option -p specifies the path.

# pkgchk -a -p /etc/passwd

ERROR: /etc/passwd
permissions <0644> expected <0777> actual


Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]