Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-25794

On some flavours of Linux, when the automated JIRA Linux installer is executed with root-level privileges, the 'jira' user account is not created.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Highest
    • 4.4.4
    • 4.4
    • Installation

    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

          Activity

            People

              rsmart metapoint
              ggaskell Giles Gaskell [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: