Changing the Admin Password in SONiC

Changing the Admin Password in SONiC

To enhance security, it’s important to change the admin password in SONiC regularly. Follow these steps to change the password for the admin user.

  1. Run the Password Change Command: Execute the following command to initiate the password change:
    sudo passwd admin

  2. Enter the New Password: You will be prompted to enter a new password. Type in the desired password and press Enter.
    Prompt:
    New password-

  3. Retype the New Password: To confirm, re-enter the new password when prompted.
    Prompt:
    Retype new password-