Details
-
Bug
-
Resolution: Fixed
-
Highest
-
4.4
-
- SUSE Linux Enterprise Server 11 (x86_64); VERSION = 11; PATCHLEVEL = 1
- Based on other comments on this page, OpenSuSE 11.4 appears to be affected by this issue too.
-
4.04
-
Description
It appears that on some flavours of Linux, when the automated JIRA Linux installer is executed with root-level privileges, the 'jira' user account is not created.
Here's some more information from a customer's comment on our relevant documentation:
I found the bin/setup_user.sh script and ran it separately (output is below), which revealed that the script is using a useradd option that's not supported in my version of Linux, which is: SUSE Linux Enterprise Server 11 (x86_64); VERSION = 11; PATCHLEVEL = 1
# /opt/atlassian/jira/bin/setup_user.sh -d /var/atlassian/application-data/jira -i /opt/atlassian/JIRA
useradd: invalid option – 'K'
Try `useradd --help' or `useradd --usage' for more information.
chown: invalid user: `jira'
chown: invalid user: `jira'
chown: invalid user: `jira'
chown: invalid user: `jira'This command will fix the script:
sed -ie 's~ -K UMASK=0077~~' /opt/atlassian/jira/bin/setup_user.sh
Attachments
Issue Links
- is duplicated by
-
JRASERVER-26238 The JIRA Linux installer fails to create a JIRA user and does not set permissions correctly.
- Closed
- is related to
-
CONFSERVER-23686 Linux Installer not creating Confluence User in Suse Linux
- Closed