I need to add mysql user to the shadow group in order to get PAM authentication to work.
I tried with 10.1.30 (that comes with the Debian release I installed).
I also installed 10.2.11 from the MariaDB repository without luck. I still need to add mysql to the shadow group to get PAM authentication to work.
Is there a safer way to proceed ?