ArcGIS Data Store 将会为大多数数据存储帐户随机生成用户名和密码。如果您的站点需要您设置自己的密码,则请使用 listadminusers 和 listmanageduser 实用程序分别获取在数据存储中执行管理员任务的帐户和拥有数据存储中的数据的帐户。然后运行 changepassword 为帐户设置新密码。
在接下来的示例中,将获取并更改管理员密码、复本所有者和地理数据库管理员。
listadminusers Admin users for ArcGIS Data store ds_abcd1234 ================================================= Database Admin User.... adm_32ret / tT30!bYk22jF Database Repl User..... dsrepuser / uWn/MV0678h4 GDB Admin User......... sde / iO=Qst751*pb changepassword adm_32ret SIcr.Or0 You are going to change the password for user adm_32ret. Do you want to continue (Yes or No)? Yes changepassword dsrepuser Copy$line You are going to change the password for user dsrepuser. Do you want to continue (Yes or No)? Yes changepassword sde Tbco*gdb You are going to change the password for user Tbco*tgdb. Do you want to continue (Yes or No)? Yes
下一示例将获取并更改经管理的用户的密码。经管理的用户将发布托管要素图层。
listmanageduser Managed user for ArcGIS Data store ds_abcd1234 ================================================ UserName Password Database gwi_n2Te0 4cXddhZhve=Y db_qv5e1 changepassword gwi_n2Te0 Phfl4mp! You are going to change the password for user gwi_n2Te0. Do you want to continue (Yes or No)? Yes
提示:
如果需要更改脚本密码(包括禁止确认提示符的标记),则请按以下示例操作:
changepassword gwi_n2Te0 Phfl4mp! --prompt no