Running Bitbucket Data Center with a dedicated user

For production installations, we recommend that you create a new dedicated user that will run Bitbucket Data Center 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 Data Center 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 Data Center on Linux:

$ sudo /usr/sbin/useradd --create-home --home-dir /opt/atlassian/bitbucket --shell /bin/bash atlbitbucket
Last modified on Oct 6, 2023

Was this helpful?

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