The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to run bitbucket as a different user

VV
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 12, 2016

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

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 12, 2016

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.
TAGS
AUG Leaders

Atlassian Community Events