Password generated by debian package can use illegal chars
----------------------------------------------------------

                 Key: NXP-6922
                 URL: https://jira.nuxeo.com/browse/NXP-6922
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
          Components: Packaging
    Affects Versions: 5.4.2-RC
            Reporter: Mathieu Guillaume
            Assignee: Mathieu Guillaume
             Fix For: 5.4.2


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]


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to