How to Change the User starting Confluence with start-confluence.sh script

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

The <Confluence_Install>/bin/start-confluence.sh script uses a variable, CONF_USER which is set in <Confluence_Install>/bin/user.sh.

To change the user the script will use to run Confluence,

  1. Edit <Confluence_Install>/bin/user.sh:
user.sh excerpt
# START INSTALLER MAGIC ! DO NOT EDIT !
CONF_USER="confluence" ##
# END INSTALLER MAGIC ! DO NOT EDIT !
export CONF_USER

2. Replace "confluence" with the user you would like to run Confluence.

3. When you start Confluence using start-confluence.sh the user you designated will be used.


Last modified on Dec 30, 2024

Was this helpful?

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