Configure TanOS system users

You can create TanOS users that have tanadmin or tanuser permissions. The system users with the tanadmin role have access to all menus. System users with the tanuser role have access to status menus.

You can also protect a user with the tanadmin role, which gives the account the same properties as the tanadmin special user and allows you optionally to unprotect and disable the tanadmin special user.

Note: Create more than one privileged user with the tanadmin role in case you forget the password for the built-in tanadmin user.
Tip: You can optionally use your enterprise LDAP server to manage TanOS authentication. For more information, see Configure LDAP authentication for TanOS system users.
Note: TanOS includes a tanldap user account, which appears in the TanOS User Management menu, and a tancomm user account, which does not appear in the TanOS User Management menu. These user accounts are used internally to facilitate communication among Tanium Appliances. Do not sign in to either of these user accounts.

Add a system user

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter C-U (User Administration > TanOS User Management).
  3. Enter A and follow the prompts to add a system user.
    CODE
    >>> User Administration -> System Users -> Add System User <<< 
    
     Adding a system user requires first name, last name, user name and user role.
    
     Attention: 
     TanUser Role:  Monitor/Check the status of the appliance, no changes are allowed
     TanAdmin Role: Full administrative role to manage the appliance
    
     A temporary password will be generated and the new user is required to change 
     their password upon first login! 
    
     The password policy requires meeting these rules:
     - Minimum of 10 characters long
     - At least 1 upper case character
     - At least 1 lower case character
     - At least 1 numeric character
     - At least 1 other character
     - Must not match any of recent 4 passwords
     - Must not be based on a dictionary word
     - Must not contain part of the username
    
     Please enter first name: John
     Please enter last name: Doe
     Please enter desired user name (max 30 chars): john.doe
     Which role should be assigned to john.doe?
    
     1: TanUser (Monitoring)
     2: TanAdmin (Administrative)
    
     Please select: 2
    
     The temporary password for john.doe is: proudbrownwildfowl
    
     Adding local user john doe ...
     Successfully added user john doe (username: john.doe) with role tanadmin.
    
     Press enter to continue

Disable password access

When you disable password access for a user, the user can only sign in through SSH using the configured SSH private key. You can disable password access for any user except the tanadmin special user.

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter C-U (User Administration > TanOS User Management).
  3. Enter the line number of the user that you want to manage.
  4. Enter N and follow the prompts to disable password access for the user.
    CODE
    ------------------------------------------------------
    
      >>> User Administration -> TanOS -> john.doe <<< 
    
     Username:        john.doe 
     Account Enabled: Yes
     Authentication:  SSH Key or Password
     SSH Lockout:     No (0)
     Multifactor:    Not configured
    
              A: Manage SSH Authorized Keys
              P: Manage SSH Key Pair
              L: Reset SSH Lockout
              C: Change/Enable Password (Randomized)
              N: Disable Password Access
    
              E: Enable Account
              D: Disable Account
              X: Delete User
    
              F: Edit known hosts file
    
              R: Return to previous menu  RR: Return to top
    
     ------------------------------------------------------
    
     TanOS Version:1.9.0 
    
     Please select: N
    
     Disabling the password for an account means that
     1. The user can only log in via SSH (not a serial console or equivalent)
     2. The user can only log in using the configured SSH private key
     3. The user will not need to change their password periodically
    
     This operation can be reversed by setting a password again.
    
     Do you want to disable password access for john.doe? [Yes|No]: yes
     Successfully removed the password.
    
     Press enter to continue

Reset a user password or enable password access

Password access is enabled by default. If you disable password access for a user and want to re-enable password access or if you need to reset a user password, perform the following steps.

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter C-U (User Administration > TanOS User Management).
  3. Enter the line number of the user that you want to manage.
  4. Enter C to enable password access or reset the password for the selected user.
    • If you enable the password for the current user, enter a password.

    • If you enable password access for another user, TanOS generates a random password.

      CODE
      >>> User Administration -> System Users -> Reset Password  <<< 
      
       A temporary password will be generate and the user is required to change 
       their password upon login! 
       
       The password policy requires meeting these rules:
        - Minimum of 10 characters long
        - At least 1 upper case character
        - At least 1 lower case character
        - At least 1 numeric character
        - At least 1 other character
        - Must not match any of recent 4 passwords
        - Must not be based on a dictionary word
        - Must not contain part of the username
      
       The temporary password for tanuser is: temporarypassword 
       Successfully reset password for user tanuser.
      
       Resetting ssh lockout for user tanuser ...
       Successfully reset any lockout for user tanuser.
      
       Press enter to continue

Enable or disable a system user account

You can temporarily disable a system user account without deleting it.

Important: You cannot disable a protected user. You can disable the tanadmin special user only if another protected user exists and you unprotect the tanadmin special user. See Protect or unprotect a user account with the tanadmin role.
  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter C-U (User Administration > TanOS User Management).
  3. Enter the line number of the user that you want to manage.
  4. Enter D to disable the user account, or enter E to enable an account that was previously disabled.

Protect or unprotect a user account with the tanadmin role

You can protect a user with the tanadmin role, which gives the account the same properties as the tanadmin special user and applies the following conditions:

  • The user account cannot be disabled or deleted.
  • The user can protect or unprotect other user accounts.
  • The user can sign in to the appliance console if the account is locked for SSH sign-in.
  • On a physical Tanium Appliance or virtual Tanium Appliance, you cannot disable password access for the account.
  • On cloud-based Tanium Appliance, you cannot delete all SSH keys for the account.

By default, the built-in tanadmin special user is protected. If you have at least one other protected user, you can optionally unprotect and disable the tanadmin special user.

Important: You must have at least one protected user at all times. You cannot unprotect the last protected user.
  1. Sign in to the TanOS console as the tanadmin special user or another user that has the tanadmin role and is already protected.
  2. Enter C-U (User Administration > TanOS User Management).
  3. Enter the line number of the user that you want to manage.
  4. Enter T to toggle protection of the user.

Delete a system user

Important: You cannot delete the tanadmin or tancopy special users or a protected user. See Protect or unprotect a user account with the tanadmin role.
  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter C-U (User Administration > TanOS User Management).
  3. Enter the line number of the user that you want to manage.
  4. Enter X and confirm to delete the user.

Edit known hosts

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter C-U (User Administration > TanOS User Management).
  3. Enter the line number of the user that you want to manage.
    CODE
    >>> User Administration -> TanOS -> tanadmin <<<
    
     Username:        tanadmin 
     Account Enabled: Yes
     Authentication:  SSH Key or Password
     SSH Lockout:     No (0)
     Multifactor:    Not configured
    
     Notes:
       * This user account cannot be deleted
    
              A: Manage SSH Authorized Keys
              P: Manage SSH Key Pair
              L: Reset SSH Lockout
              C: Change/Enable Password (Randomized)
              N: Disable Password Access
              M: Multifactor Authentication
    
              E: Enable Account
              D: Disable Account
              X: [DISABLED] Delete User
    
              F: Edit known hosts file
    
              R: Return to previous menu  RR: Return to top
    
    ------------------------------------------------------
  4. Enter F to edit the known hosts file. You can delete existing fingerprints from the file, or you can scan a remote host to automatically add fingerprints.
    • To delete a fingerprint, enter a line number and confirm the deletion.

    • To scan a remote host and automatically add all discovered fingerprints, enter S and follow the prompts.

      CODE
      ------------------------------------------------------
        >>> User Administration -> TanOS -> tanadmin <<< 
      
        Username: tanadmin
        File:     /home/tanadmin/.ssh/known_hosts
      
        Action:   Select line number to delete
        #: Host Key                    Host
        1: AAAAE2VjZHN...qsTE1rkC2o=   192.168.15.253
        2: AAAAC3NzaC1...kHgZ1TUXjDW   192.168.15.253
      
        S: Scan remote host keys
      
        R: Return to previous menu  RR: Return to top
      
       ------------------------------------------------------
      
        Please select: s
      
        Enter the remote host to scan: 192.168.15.115
      
        Found additional host keys for 192.168.15.115
      
        192.168.15.115 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzd...
        192.168.15.115 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL2FCJQS3...
        192.168.15.115 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDLtuGBN...
      
        Do you want to add these entries to known_hosts? [Yes|No]: y
      
        Done adding 3 entries
        Press enter to continue

View history of sign in attempts

  1. Sign in to the TanOS console as a user with the tanadmin role.
  2. Enter C-I (User Administration > Recent Login Information).
  3. Use options A, B, and C to view the history of sign in attempts.