https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20929

            Bug ID: 20929
           Summary: koha-dump should not pass a --password argument to
                    mysqldump
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Packaging
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Created attachment 76017
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76017&action=edit
Use env variable instead of --password argument for mysqldump

koha-dump currently passes a password as a CLI argument to mysqldump, which
results in the following warning:

mysqldump: [Warning] Using a password on the command line interface can be
insecure.

Depending on how a server is configured, this results in emails being sent to
the administrator every time the cron job runs.

It's trivial to change this to pass an environment variable instead, so as not
to trigger the warning.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to