Skip to main content

changepassword

This ArcGIS Data Store utility is used with the relational store and spatiotemporal big data store.

ArcGIS Data Store randomly generates usernames and passwords for the database accounts it creates. If your site requires you to set your own passwords, obtain the passwords for relational store and spatiotemporal big data store accounts and run changepassword to reset them.

Use the listadminusers utility to get usernames and passwords for administrator users and the listmanageduser utility to get the usernames and passwords for the data owners.

Note:
  • For the relational store, the changepassword utility must be run on the primary machine. To identify which is the primary machine, run the describedatastore utility.

  • For deployments using a cloud relational store, you can use the changepassword utility to update the passwords of all relational store accounts returned by the listadminusers and listmanageduser utilities.

  • You cannot use the changepassword utility to update the password of the database service administrator account that you provided in the JSON template when you configured the cloud relational store. You must change that password using tools provided by your cloud platform. After you change the administrator's password, you must run the changepassword utility and specify the new password for that administrator user to update ArcGIS Enterprise with the new information.

Syntax

changepassword <username> <new password> [--prompt {yes | no}]

Example

In this example, the password is changed for user gwi_n2Te0 to Phfl4mp!.

./changepassword.sh gwi_n2Te0 Phfl4mp

changepassword gwi_n2Te0 Phfl4mp

You are going to change the password for user gwi_n2Te0.
Do you want to continue (Yes or No)?Yes

If you need to script password changes, include a flag to suppress the confirmation prompt, as in the following example:

./changepassword.sh gwi_n2Te0 Phfl4mp --prompt no

changepassword gwi_n2Te0 Phfl4mp --prompt no