You can change an Oracle Container Cloud Service instance administrator’s password using SSH rather than using the Oracle Container Cloud Service Container Console.
You know the instance administrator’s current username. When creating a new instance, ‘admin’ is suggested as the administrator username, but a different username can be entered. Even if ‘admin’ was originally specified as the instance administrator’s username, the username can also be changed later on the My Profile page of the Container Console. You must know the instance administrator’s current username. If you don’t, you won’t be able to reset the administrator’s password.
The machine you use to connect to the manager node:
has an SSH client installed
has access to the SSH private key paired with the SSH public key that was specified when the service instance was created
- Use SSH to connect to the manager node of the Oracle Container Cloud Service instance for which you want to change the instance administrator’s password.If you’re not sure how to do this, see Connecting to Oracle Container Cloud Service Manager and Worker Nodes Through SSH.
- In the terminal window, type change-admin-password.sh <admin-username> where <admin-username> is the current username of the instance administrator.
- In the terminal window, when prompted for a password, enter the new password.
- Close the SSH connection by typing
exitin the terminal window.
- To verify the password has changed:
Assuming you successfully changed the instance administrator’s password, the Container Console is displayed.
- Go back to the Oracle Container Cloud Service Console Services tab.
- Click the Menu icon beside the service instance, and choose Container Console.
- On the Login page, enter the instance administrator’s username and the new password you’ve just specified.