Running Bitbucket Server with a dedicated user
Bitbucket installation guide
On this page
Related content
- Install Bitbucket Server on Linux
- Install Bitbucket Server on Linux from an archive file
- Run the Bitbucket installer
- Error fatal: unsafe repository occurs when accessing a repository in Bitbucket Server
- Install a Bitbucket Data Center trial
- Error fatal: unsafe repository occurs when accessing a repository in Bitbucket Server
- The database, as currently configured, is not accessible
- Global permissions
- Users and groups
- Automated setup for Bitbucket
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 May 31, 2023
Related content
- Install Bitbucket Server on Linux
- Install Bitbucket Server on Linux from an archive file
- Run the Bitbucket installer
- Error fatal: unsafe repository occurs when accessing a repository in Bitbucket Server
- Install a Bitbucket Data Center trial
- Error fatal: unsafe repository occurs when accessing a repository in Bitbucket Server
- The database, as currently configured, is not accessible
- Global permissions
- Users and groups
- Automated setup for Bitbucket
Powered by Confluence and Scroll Viewport.