View | Details | Raw Unified | Return to bug 25622
Collapse All | Expand All

(-)a/debian/scripts/koha-create (-3 / +6 lines)
Lines 592-599 if [ "$op" = create ] || [ "$op" = request ] || [ "$op" = use ] Link Here
592
then
592
then
593
    if [ "$mysqlpwd" = "" ]
593
    if [ "$mysqlpwd" = "" ]
594
    then
594
    then
595
        mysqlpwd="$(pwgen -s 15 1)"
595
        # over-size, so when problematic chars are removed,
596
        mysqlpwd="$mysqlpwd@"
596
        # still likely 16 characters left.
597
        # Removing : ' & \ < > /
598
        mysqlpwd="$(pwgen -s -y 32 1)"
599
        mysqlpwd="$(echo $mysqlpwd | tr -d :\'\&\\\\\<\>\/ | cut -c1-16)"
600
597
    fi
601
    fi
598
else
602
else
599
    mysqlpwd="$(getinstancemysqlpassword $name)"
603
    mysqlpwd="$(getinstancemysqlpassword $name)"
600
- 

Return to bug 25622