In order to use the /etc/libpam-mysql.conf configuration file you simply
type something like the following in your pam-file (eg. /etc/pam.d/ssh):

auth       optional     pam_mysql.so config_file=/etc/libpam-mysql.conf
account    required     pam_mysql.so config_file=/etc/libpam-mysql.conf

And edit /etc/libpam-mysql.conf to your liking. The default assumes no
password for root to use mysql and simply uses the mysql accounts.

This is not necessarily a good idea.


Lars Bahner <bahner@debian.org> -- Mon Jan 26 02:56:00 CET 2009 
