Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to change password user by command line?

1 answer

0 votes
Andy Heinzer Atlassian Team May 09, 2019

Hi,

The guide you cited is specifically for recovering the admin password of Crowd.  I am confused here, because your question also has tags for Jira Core and Confluence Cloud.  I can tell you for sure, that Confluence Cloud can't use Crowd. Crowd is a server/data center only product.

The guide you linked to is correct, but only if you're using Crowd.  If you're not using Crowd, and only using Jira Server, I would instead recommend trying to follow Retrieving the JIRA Administrator.  If Jira is connected to another external directory, like Crowd, another Jira Server, or some other SSO service, it's possible you might not be able to reset the password by making changes directly to the Jira database.   This guide notes this near the top:

Using Single Sign-On (SSO):

  • If JIRA is configured for SSO through Crowd or another third-party service, only users from Crowd or the other service will be able to log in to JIRA.
  • In order to log in as a user from the JIRA Internal Directory, roll back the changes made within Integrating Crowd with Atlassian JIRA or as made by the third-party authenticator.

But if you're not using SSO, or you have already reverted this, then in Jira I would recommend running the following update to change a Jira Internal user account's password to 'sphere' no quotes:

update cwd_user set credential='uQieO/1CGMUIXXftw3ynrsaYLShI+GTcPS4LdUGWbIusFvHPfUzD7CZvms6yMMvA8I7FViHVEqr6Mj4pCLKAFQ==' where user_name='example';

Note: This won't work for user accounts that use an external directory for authentication, like LDAP or AD.  This work-around only works for user accounts in the internal user directory of Jira.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

527 views 1 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you