From: <and...@79...> - 2002-12-16 13:32:59
|
Hello i have tried to use pam-mysql with "poppassd" to change passwords for e-mail users located in a mysql database. For security reasons i don´t run "poppassd" as root and stumbled over line 1125 in pam-mysql (ver. 0.5) where the following statement appears : if (!db_checkpasswd(&auth_sql_server,user,oldpass)) retval = PAM_SUCCESS; else retval = PAM_AUTHTOK_ERR; With this i´m not able to change my password if "poppassd" isn´t "root". If i change it to the inverse logik : if (db_checkpasswd(&auth_sql_server,user,oldpass)) retval = PAM_SUCCESS; else retval = PAM_AUTHTOK_ERR; It works. Any comments?? Regards Andreas |