Populating users based on type for Agent Client Collector for Visibility - Content

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • You can persist the type of users that populate the CMDB depending on your particular interests. Currently, local and system are supported for Windows, Linux, and macOS.

    You can filter the types of users by using the system property: sn_acc_visibility.persist_os_user_type. See Available system properties for more information.

    For Windows
    You need to identify if a server is domain controller or not. Since domain controller machines don’t have local accounts, local user information does not persist for such machines and is not populated.

    For non-domain controller Windows machines, use OSquery commands to get user information through ACC-VC: select uid, username, directory, type from users where type=local or type=special.

    For Linux

    The userID defines if a user is a local account or system account. This is defined by UID_MIN and UID_MAX.

    Use this command to get user information through ACC-VC to get UID_MIN and UID_MAX value: grep -E '^UID_MIN|^UID_MAX' /etc/login.defs.

    Use this command to get user names: cat /etc/passwd | awk -F':' '{print $1,$3,$6.

    For macOS
    Use OSquery commands to get user information through ACC-VC: select uid, username, directory from users. User names that are preceded by ‘_’ are treated as system accounts. Others are local accounts.