Shouldn't this be passwd=bar instead of password=bar ?
Tim Evans wrote:
>
> #%PAM-1.0
> auth optional /lib/security/pam_mysql.so user=foo password=bar
> db=healthhub table=auth usercolumn=username passwdcolumn=password crypt=1
> account required /lib/security/pam_mysql.so user=foo password=bar
> db=healthhub table=auth usercolumn=username passwdcolumn=password crypt=1
>
That is how we do it.
>
> NOTE: I've been putting this in place of the standard imap file in /etc/
> pam.d. Not sure if this is the right thing.
>