You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ensure database audit code attempts to use passwordless options before sending credentials #3999
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)
OS: [e.g. iOS]
Linux
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information)
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
We can set the user and password in my.cnf or a file then use --defaults-extra-file option on mysqldump.
A simple way is try to mysqldump without user and password first, if failed then mysqldump with user and password. This can minimize the chance be caught by others. As it is a CLI, not called by web page, i think it's ok for security.
changed the title [-]The chances of mysqldump with password should be minimized[/-][+]Ensure database audit code attempts to use passwordless options before sending credentials[/+]on Jan 4, 2021
Activity
Fix Cacti#3999
Refix issue Cacti#3999, wrap mysqldump into db_dump_data()
Fix issue Cacti#3999, update the db_dump_data() to minimize password …
Fix3999 (#4000)
[-]The chances of mysqldump with password should be minimized[/-][+]Ensure database audit code attempts to use passwordless options before sending credentials[/+]