home_dir_localization_files_user_check

This built-in checks whether a localization file within a user’s home directory is either owned by the user or the root.

One or more files could be listed using the “file” token. However if the “file” token is missing the check by default looks for the following files:

  • .login
  • .cschrc
  • .logout
  • .profile
  • .bash_profile
  • .bashrc
  • .bash_logout
  • .env
  • .dtprofile
  • .dispatch
  • .emacs
  • .exrc

Example

<item>

name: "home_dir_localization_files_user_check"

description: "Check file .foo/.foo2"

file: ".foo"

file: ".foo2"

file: ".foo3"

</item>