-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql password leak in minion's log #75
Comments
The postgres module handles this by putting a temporary file on disk with the password and then the psql utility reads that. That would be very hard to duplicate in a sls file, so yeah, a new module or extending the current mysql module(s) is probably the best bet. |
@iggy I don't really see how this is the formula's issue, this is more of a Salt problem. |
Because the formula is doing things like: mysql-formula/mysql/server.sls Line 30 in 6c3161a
And if there were a module function to set the root password, the sls file wouldn't have to do this with a cmd.run that gets logged in clear text in a log file. |
when provisioning a mysql server, the root_password is written in clear in the minion's log, which is not so good...
I'm not sure how to avoid that beside creating a custom module...
The text was updated successfully, but these errors were encountered: