Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to run bitbucket as a different user

VV 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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events