Skip to main content

changepassword

This ArcGIS Data Store utility is used with the relational store.

ArcGIS Data Store randomly generates usernames and passwords for the database accounts used for relational stores. If your site requires you to set your own passwords, obtain the passwords for relational 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 username and password for the feature data owner.

The changepassword utility must be run on the primary relational store machine. To identify which is the primary machine, run the describedatastore utility.

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