You can change the Harbor admin password from the UI.

To change the admin password, login to Harbor UI and click the admin icon at the top right corner, and then select Change Paasword.