Help Center> Cloud Backup and Recovery> User Guide (Kuala Lumpur Region)> Appendix> Agent Security Maintenance> Changing the Password of the Account for Reporting Alarms (SNMP v3)
Updated on 2022-08-16 GMT+08:00

Changing the Password of the Account for Reporting Alarms (SNMP v3)

To enhance the system O&M security, you are advised to change the password of the account for reporting alarms.

Prerequisites

  • You have obtained a username and its password for logging in to the management console.
  • The username and password for logging in to a server have been obtained.

Context

This section introduces the procedures in Windows and Linux.

If the authentication password and data encryption password for SNMP v3 of the Agent are the same, security risks exist. To ensure system security, you are advised to set different passwords for authentication and data encryption.

Obtain the initial authentication password.

The password must meet the following complexity requirements:

  • Contains 8 to 16 characters.
  • Contains at least one of the following special characters: `~!@#$%^&*()-_=+\|[{}];:'",<.>/?
  • Contains at least two of the following types of characters:
    • Uppercase letters
    • Lowercase letters
    • Numeric characters
  • Cannot be the same as the username or the username in reverse order.
  • Cannot be the same as the old passwords.
  • Cannot contain spaces.

Procedure (Windows)

  1. Log in to the server where the Agent is installed.
  2. Open the CLI and go to the installation path\bin directory.
  3. Run the agentcli.exe chgsnmp command. Type the login password of the Agent and press Enter.

    Please choose operation: 
    1: Change authentication password 
    2: Change private password 
    3: Change authentication protocol 
    4: Change private protocol 
    5: Change security name 
    6: Change security Level 
    7: Change security model 
    8: Change context engine ID 
    9: Change context name 
    Other: Quit 
    Please choose:

    admin is the username configured during the Agent installation.

  4. Select the SN of the authorization password or data encryption password that you want to change and press Enter.
  5. Type the old password and press Enter.
  6. Type a new password and press Enter.
  7. Type the new password again and press Enter. The password is changed.

Procedure (Linux)

  1. Log in to the Linux server using the server password.
  2. Run the TMOUT=0 command to prevent PuTTY from exiting due to session timeout.

    After the preceding command is executed, the system remains running even when no operation is performed, which results in security risks. For security purposes, run the exit command to exit the system after you finish performing operations.

  3. Run the su - rdadmin command to switch to user rdadmin.
  4. Run the /home/rdadmin/Agent/bin/agentcli chgsnmp command. Type the login password of the Agent and press Enter.

    The installation path of the Agent is /home/rdadmin/Agent.

    Please choose operation: 
    1: Change authentication password 
    2: Change private password 
    3: Change authentication protocol 
    4: Change private protocol 
    5: Change security name 
    6: Change security Level 
    7: Change security model 
    8: Change context engine ID 
    9: Change context name 
    Other: Quit 
    Please choose:

  5. Select the SN of the authorization password or data encryption password that you want to change and press Enter.
  6. Type the old password and press Enter.
  7. Type a new password and press Enter.
  8. Type the new password again and press Enter. The password is changed.