Running Bitbucket Server with a dedicated user

For production installations, we recommend that you create a new dedicated user that will run Bitbucket Server on your system. This user:

  • Should be local.
  • Should not have admin privileges.
  • Should be a non-privileged user with read, write, modify and execute access (called "Full control" permission on Windows) on the Bitbucket Server install directory and home directory.

Learn more about how to run Bitbucket as a Linux service

Here is an example of how to create a dedicated user to run Bitbucket Server on Linux:

$ sudo /usr/sbin/useradd --create-home --home-dir /opt/atlassian/bitbucket --shell /bin/bash atlbitbucket
Last modified on Jul 21, 2022

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.