A.2 Running the Data Collection Script

To collect Lightweight UNIX data for reports, run the data collection script on the Lightweight UNIX computer you want to audit. The data collection script creates Lightweight UNIX data files containing audit data. You will need the root password for the Lightweight UNIX computer that you want to audit, and a copy of the build_luau_files script that is located on the UNIX agent CD-ROM.

NOTE:Ensure that you have adequate disk space on the Lightweight UNIX computer before running the data collection script. The data collection script creates data files that require an average of 150 bytes for each file or directory in the file system. For example, if the file system contains 100,000 files or directories, the data collection script requires at least 15 MB of disk space.

To collect the required data:

  1. Log on to the Lightweight UNIX computer as root, or su to root.

  2. Create a temporary directory by entering the following:

    mkdir /tmp/luautmp
  3. Change directories to the temporary directory by entering the following:

    cd /tmp/luautmp
  4. Copy the build_luau_files script to the temporary directory. For example, if the script is on a floppy disk, enter the following and replace /mnt/floppy with the floppy mount point:

    cp /mnt/floppy/build_luau_files ./
  5. Make sure the build files script has proper permissions by entering the following:

    chmod 555 ./build_luau_files
  6. Run the script by entering the following:

    ./build_luau_files
  7. Enter ./ to create the data files in the current directory.

  8. Enter any additional information the script requires to build the data files. You may be prompted to enter the path to certain files and directories. The build cycle is complete when the prompt reappears.

  9. Log off the Lightweight UNIX computer.