Help Center/ Cloud Backup and Recovery/ User Guide (Ankara Region)/ Appendix/ Agent Security Maintenance/ Changing the Password of the Account for Reporting Alarms (SNMP v3)
Updated on 2024-04-19 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

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

Context

This section introduces the procedures in Windows and Linux.

There may be security risks if you use the same password for SNMP v3 authentication and data encryption. To ensure system security, you are advised to set different passwords for SNMP v3 authentication and data encryption.

Obtain the initial authentication password from technical support.

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, enter the server login password, 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 authentication 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 you run the preceding command, the system continues to run even when no operation is performed, which brings security risks. To ensure system security, run the exit command to exit the system after you finish the operations.

  3. Run the su - rdadmin command to switch to user rdadmin.
  4. Run the /home/rdadmin/Agent/bin/agentcli chgsnmp command, enter the server login password, 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 authentication 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.