How to properly change/modify the installed-as user for JIRA?

IGS November 2, 2013

So, on our production and some of our test instances, uninstallations and reinstallations result in us having jira, jira1, jira2 (uid's 500,501, 502, ...) local users created, and also the resulting jira_home directory being chowned to whatever new user the installer is using.

How do we change what user the JIRA installation recognizes as being the installed user?

4 answers

0 votes
Jimmy February 5, 2020

Each time you create a new Jira instance it will create a new service name.  If you do not manually remove these service names after you have uninstalled jira, the next jira installation will automatically be labeled as jira1 and be assigned a new id.  If you have old services that are no longer associated to the application server, be sure to remove them as well before you install a new instance.  When you remove an application be sure to do the following. 

>stop and disable any services related to the application

>remove the service account from /etc/init.d

>remove application home and installation directories

>remove any users created by the application

>remove any user's home directories

0 votes
Norman Abramovitz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 3, 2013

The install user can be any user id. If you just need the name to be same then just update the password file. If you need the uid to be same, you need to create a convention at your installation that uid will always be a Jira id.

Take a look at the following document used to setup Jira to run automatically on linux. It should give you pointers where to look and change.

https://confluence.atlassian.com/display/JIRA/Starting+JIRA+Automatically+on+Linux

0 votes
IGS November 3, 2013

Yes, Linux

0 votes
Norman Abramovitz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 3, 2013

The answer is probably platform dependent. Are you running your jira environments on Linux?

Suggest an answer

Log in or Sign up to answer