Symbiosis: Request: Write mysql root credentials to /root/.my.cnf when imaging.
(Note: This may be something for imager, or Stretch, but applied to Symbiosis images only)
It's never clear that the
admin and mysql
root@localhost users all have the same password in a newly imaged machine, which leads to users likely changing the root/admin passwords like they should, and not making note of the
root@localhost password we set for mysql.
Simply writing the below to
/root/.my.cnf (with relevant permissions) would make password recovery simpler, and allow the user to log in directly.
[client] user=root password="<example>"
There's a small outside risk to this, by keeping it in
/root would negate most of this, and make things simpler for users.