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 run bitbucket as a different user

This articles explains how to create a user for Bitbucket and not "Running Bitbucket Server with a dedicated user".  

1 answer

1 accepted

0 votes
Answer accepted

In lack of any useful information, I assume you:

  • are running linux.
  • are running the application as root
  • are running the application server in /opt/atlassian/Bitbucket
  • are logged in as root

Steps:

  • shut down Bitbucket
  • add a user: "adduser bitbucket"
  • set the correct permissions on the application directory: "chown -R bitbucket:bitbucket /opt/atlassian/bitbucket/"
  • login as bitbucket: su - bitbucket 
  • start the applicationserver back up.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

Share your software development horror stories!

Hey Community! I work on the Bitbucket product marketing team. With Halloween approaching, we wanted to discuss a topic tailor-made for October: development horror stories. Whether it was a lurk...

1,658 views 11 3
Join discussion

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