Running Bitbucket Server with a dedicated user
Bitbucket installation guide
On this page
Related content
- Bitbucket Server upgrade guide
- Bitbucket Data Center upgrade guide
- Upgrade Bitbucket without downtime
- Migrating Bitbucket Server to another server
- Install Bitbucket Server on Linux from an archive file
- Migrate Bitbucket Server from Windows to Linux
- Install Bitbucket Server on Linux
- How to migrate Bitbucket Server and Data Center to Docker container
- Administer Bitbucket Data Center in Azure
- Migrate server.xml customizations to bitbucket.properties
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 25, 2022
Related content
- Bitbucket Server upgrade guide
- Bitbucket Data Center upgrade guide
- Upgrade Bitbucket without downtime
- Migrating Bitbucket Server to another server
- Install Bitbucket Server on Linux from an archive file
- Migrate Bitbucket Server from Windows to Linux
- Install Bitbucket Server on Linux
- How to migrate Bitbucket Server and Data Center to Docker container
- Administer Bitbucket Data Center in Azure
- Migrate server.xml customizations to bitbucket.properties
Powered by Confluence and Scroll Viewport.