-
Notifications
You must be signed in to change notification settings - Fork 365
Open
Description
when provisioning a mysql server, the root_password is written in clear in the minion's log, which is not so good...
2015-06-08 18:27:33,049 [salt.state ][INFO ][22761] Running state [mysqladmin --user root password 'XXX'] at time 18:27:33.049208
2015-06-08 18:27:33,050 [salt.state ][INFO ][22761] Executing state cmd.run for mysqladmin --user root password 'XXX'
2015-06-08 18:27:33,051 [salt.loaded.int.module.cmdmod][INFO ][22761] Executing command 'mysql --user root --password=\'XXX\' --execute="SELECT 1;"' in directory '/root'
2015-06-08 18:27:33,129 [salt.loaded.int.module.cmdmod][INFO ][22761] Executing command "mysqladmin --user root password XXX'" in directory '/root'
2015-06-08 18:27:33,227 [salt.state ][INFO ][22761] {'pid': 23051, 'retcode': 0, 'stderr': '', 'stdout': ''}
2015-06-08 18:27:33,227 [salt.state ][INFO ][22761] Completed state [mysqladmin --user root password 'XXX'] at time 18:27:33.227229
I'm not sure how to avoid that beside creating a custom module...
Metadata
Metadata
Assignees
Labels
No labels