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
I think it's a bad idea to have the root DB pw written to disk, even in /root. Arguably if a user has got root access you're screwed anyway, but since I only found that this file was being written while working on something else I think it should be opt-in only for extra security.
The text was updated successfully, but these errors were encountered:
- name: MySQL | Configure MySql for easy access as root user
template:
src: root_dot_my.cnf.j2
dest: /root/.my.cnf
owner: root
group: root
mode: 0600
when: mysql_create_root_conf is defined and mysql_create_root_conf == true
I think it's a bad idea to have the root DB pw written to disk, even in /root. Arguably if a user has got root access you're screwed anyway, but since I only found that this file was being written while working on something else I think it should be opt-in only for extra security.
The text was updated successfully, but these errors were encountered: