DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Security procedures

Checking file characteristics

You can check the attributes of any file installed during installation using pkgadd.

  1. Run pkginfo to obtain a list of all the packages installed on the system.

  2. Execute

    pkgchk -l packagename 2>pkg.prob.list

    to check the current characteristics of the files in a specific package against the package information that was stored during installation.

    A detailed description of any problems found is reported by pkgchk on standard error output, so redirect standard error output to a file (as shown in the above command line).

Once you obtain problem descriptions, you can use the chmod, chown, chgrp, and filepriv commands to reset any file characteristics found to be in error.


Next topic: Creating reference files
Previous topic: Recording su use

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004