--- title: "Configuring authentication on the CLI" slug: "configuring-authentication-on-the-cli-2" tags: ["Install and Get Started", "NDR 4.x", "Customer", "Network Security"] updated: 2026-11-17T09:23:30Z published: 2026-11-17T09:23:30Z canonical: "docs.trellix.com/configuring-authentication-on-the-cli-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring authentication on the CLI You can select and configure a different authentication method for user logins based on your requirements. Refer to the table below to decide which authentication method to use: | Authentication requirement | Authentication method to choose | | --- | --- | | **To use local user accounts (default)** | PAM (selected by default). No further configuration is needed in this option. See [adding a user](/network-and-platform/docs/adding-a-user-in-the-cli-2) if you want to create local PAM users. | | **To authenticate against an external LDAP or Active Directory (AD) server** | [Select and configure LDAP or Active Directory authentication](/network-and-platform/docs/configure-ldap-or-active-directory-authentication-2) | | **To authenticate user information using digital certificates (CAC/PIV)** | [Select and configure PKI, PKI with LDAP, or PKI with Active Directory authentication](/network-and-platform/docs/configure-pki-pki-with-ldap-or-active-directory-authentication-2) | | **To authenticate against an external RADIUS or TACACS+ server** | [Select and configure RADIUS or TACACS+ authentication](/network-and-platform/docs/configure-radius-and-tacacs-authentication-2) |