From: <ls...@kw...> - 2003-01-24 09:48:12
|
Hello in line 1125 in pam-mysql (ver. 0.5) the following statement appears : if (!db_checkpasswd(&auth_sql_server,user,oldpass)) retval = PAM_SUCCESS; else retval = PAM_AUTHTOK_ERR; I guess this should be : if (db_checkpasswd(&auth_sql_server,user,oldpass)) retval = PAM_SUCCESS; else retval = PAM_AUTHTOK_ERR; because otherwise non root users are not able to change the password if they supply the correct password. Any comments?? Regards Andreas |