You can directly update or change a password using the following method.
-
Enter your login credentials.
Default Username: root
Default Password: arista
-
Running passwd with no options will change the password of the account running the command. You will first be prompted to enter the account's current password:
-
You will be asked to enter a new password.
-
Enter the same password again, to verify it.
-
If the passwords match, the password will be changed.
passwd: all authentication tokens updated successfully.
[root@cv ~]#