Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-6922

Password generated by debian package can use illegal chars

    XMLWordPrintable

    Details

      Description

      When using the "Autogenerate PostgeSQL config", the password is generated with: cat /dev/urandom | tr -cd "[:alnum:]" | head -c 8
      On some systems the "alnum" seems to be extended to some non-ascii characters, which makes the creation of the PostgreSQL nuxeo user fail.

      Solution: replace [:alnum:] with [a-zA-Z0-9]

        Attachments

          Activity

            People

            • Assignee:
              mguillaume Mathieu Guillaume
              Reporter:
              mguillaume Mathieu Guillaume
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: