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.
Run the Password Change Command: Execute the following command to initiate the password change:sudo passwd admin
Enter the New Password: You will be prompted to enter a new password. Type in the desired password and press Enter.
Prompt:New password-
Retype the New Password: To confirm, re-enter the new password when prompted.
Prompt:Retype new password-