Frequently in OpenVMS when an account is deleted from the System Authorization File (SYSUAF) files remain on the system that have that particular user as their owner. These files are then included in disk accounting reports and the VDM reports as unauthorized usage. VDM Version 7 now includes a report that will scan a disk for all the files that do not belong to a valid SYSUAF account and report them. These files can then be set to belong to a valid user or deleted from the system.
The report includes the directory, filename, used, allocated and unused blocks, the creation date and the owner UIC.
Note: It is normal for there to be a number of system files in the master ([000000]) directory of every disk that belong to [1,1] however user files should not be set to belong to this system UIC.
Note: In a cluster without a common SYSUAF file you should note that unless users are authorized on all nodes they maybe reported as unauthorized when this report is run on a particular node and yet be valid. VDM cannot compare the ownership of the file to mutliple SYSUAF files; it is important that you run the report on the node with the most authorized users and verify the results by checking for the unauthorized UICs in the other SYSUAF files, in the cluster, before deleting or changing the ownership of any files!
Example
$ vdm /report=unauthorized /disk=$1$dka100: /output=dka100_orphans.rpt
This report will scan the files on disk $1$dka100: and create a report showing all the files that do not belong to an authorized user.